summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Draszik <draszik@google.com>2023-01-23 15:12:30 +0000
committerCarlos Llamas <cmllamas@google.com>2023-03-29 22:18:21 +0000
commit51fb60d227ef3ea7c1a3c894def68ba30a0035d7 (patch)
tree91abae9be34b036968cfcf47e2ef6a3abd0fe525
parent88189e18e92cc6e9bca430db4caa0b0889955e0b (diff)
downloadbcm4389-51fb60d227ef3ea7c1a3c894def68ba30a0035d7.tar.gz
bcmdhd: update for v6.2 kernel (cfg80211_port_authorized())
Kernel commit [1] has changed cfg80211_port_authorized() and now this driver here fails compilation. Update to follow suit. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0ff57171d6d2 ("cfg80211: Update Transition Disable policy during port authorization") Change-Id: I044b92a8aa288ab6dfd8c7d2fed69291a628aef1 Signed-off-by: André Draszik <draszik@google.com> (cherry picked from commit e65440b8bdc5eadb08ee9172fd5efb139b55765c)
-rw-r--r--wl_cfg80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wl_cfg80211.c b/wl_cfg80211.c
index 5e6c2d2..cbc169f 100644
--- a/wl_cfg80211.c
+++ b/wl_cfg80211.c
@@ -22839,7 +22839,7 @@ wl_cfg80211_sup_event_handler(struct bcm_cfg80211 *cfg, bcm_struct_cfgdev *cfgde
WL_DBG(("Authorizing Port with BSSID from DHD profile " MACDBG" \n",
MAC2STRDBG(curbssid)));
}
- cfg80211_port_authorized(ndev, (const u8 *)curbssid, GFP_KERNEL);
+ cfg80211_port_authorized(ndev, (const u8 *)curbssid, NULL, 0, GFP_KERNEL);
#elif (LINUX_VERSION_CODE > KERNEL_VERSION(3, 14, 0)) || defined(WL_VENDOR_EXT_SUPPORT)
err = wl_cfgvendor_send_async_event(bcmcfg_to_wiphy(cfg), ndev,
BRCM_VENDOR_EVENT_PORT_AUTHORIZED, NULL, 0);