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

updated squashfs (4.3 -> 4.4)
author Hans-G?nter Theisgen
date Wed Oct 09 15:50:26 2019 +0100 (2019-10-09)
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);