summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Draszik <draszik@google.com>2023-03-13 17:40:46 +0000
committerCarlos Llamas <cmllamas@google.com>2023-03-29 22:23:55 +0000
commitb3e83cf4447b5b94d3f2e5011183d7dd937daf16 (patch)
tree22e50d7ebe5ca71316b36e868cfde007f3bf5177
parent51fb60d227ef3ea7c1a3c894def68ba30a0035d7 (diff)
downloadbcm4389-b3e83cf4447b5b94d3f2e5011183d7dd937daf16.tar.gz
bcmdhd: update for v6.3 kernel (cfg80211_ch_switch_notify())
Kernel commit [1] has changed cfg80211_ch_switch_notify() 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=b345f0637c00 ("wifi: cfg80211: include puncturing bitmap in channel switch events") Bug: 273295180 Test: build, connect to WiFi, download something Change-Id: I2b31504a4d0df79845e9f166e82cd6e7df9c679a Signed-off-by: André Draszik <draszik@google.com>
-rw-r--r--wl_cfgvif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wl_cfgvif.c b/wl_cfgvif.c
index b019f4f..2de92ef 100644
--- a/wl_cfgvif.c
+++ b/wl_cfgvif.c
@@ -5495,7 +5495,7 @@ wl_cfg80211_ch_switch_notify(struct net_device *dev, uint16 chanspec, struct wip
}
#if (LINUX_VERSION_CODE >= KERNEL_VERSION (3, 8, 0))
freq = chandef.chan ? chandef.chan->center_freq : chandef.center_freq1;
- cfg80211_ch_switch_notify(dev, &chandef, 0);
+ cfg80211_ch_switch_notify(dev, &chandef, 0, 0);
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION (3, 5, 0) && (LINUX_VERSION_CODE <= (3, 7, \
0)))
freq = chan_info.freq;