wok-current view broadcom-wl/stuff/3.9.0.patch @ rev 22229

Up chkrootkit (0.53)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 11 22:57:56 2019 +0100 (2019-11-11)
parents 5bafc5ba9b44
children
line source
1 Description: Kernel 3.9 compatibility
2 Last-Update: 2013-05-07
4 --- a/amd64/src/wl/sys/wl_cfg80211.c
5 +++ b/amd64/src/wl/sys/wl_cfg80211.c
6 @@ -2112,7 +2112,11 @@
7 rcu_read_unlock();
8 #endif
9 beacon_interval = bss->beacon_interval;
10 +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 9, 0)
11 cfg80211_put_bss(bss);
12 +#else
13 + cfg80211_put_bss(wl_to_wiphy(wl), bss);
14 +#endif
15 }
17 tim = bcm_parse_tlvs(ie, ie_len, WLAN_EID_TIM);