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

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
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);