wok annotate broadcom-wl64/stuff/3.9.0.patch @ rev 24069

Add some current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 06 11:01:20 2021 +0000 (2021-07-06)
parents
children
rev   line source
pascal@20393 1 Description: Kernel 3.9 compatibility
pascal@20393 2 Last-Update: 2013-05-07
pascal@20393 3
pascal@20393 4 --- a/amd64/src/wl/sys/wl_cfg80211.c
pascal@20393 5 +++ b/amd64/src/wl/sys/wl_cfg80211.c
pascal@20393 6 @@ -2112,7 +2112,11 @@
pascal@20393 7 rcu_read_unlock();
pascal@20393 8 #endif
pascal@20393 9 beacon_interval = bss->beacon_interval;
pascal@20393 10 +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 9, 0)
pascal@20393 11 cfg80211_put_bss(bss);
pascal@20393 12 +#else
pascal@20393 13 + cfg80211_put_bss(wl_to_wiphy(wl), bss);
pascal@20393 14 +#endif
pascal@20393 15 }
pascal@20393 16
pascal@20393 17 tim = bcm_parse_tlvs(ie, ie_len, WLAN_EID_TIM);