wok-current view broadcom-wl64/stuff/3.9.0.patch @ rev 23630

updated sarg and sarg-php (2.3.11 -> 2.4.0)
author Hans-G?nter Theisgen
date Fri Apr 17 08:01:58 2020 +0100 (2020-04-17)
parents
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);