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

sshx: add port support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 05 17:00:11 2018 +0200 (2018-05-05)
parents
children 564f7f9745bd
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 @@ -2115,7 +2115,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);