wok annotate broadcom-wl/stuff/3.9.0.patch @ rev 25064
openvas-libraries, openvas-client: update gnutls calls
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 08 16:46:37 2022 +0000 (2022-06-08) |
parents | 5bafc5ba9b44 |
children |
rev | line source |
---|---|
pascal@20286 | 1 Description: Kernel 3.9 compatibility |
pascal@20286 | 2 Last-Update: 2013-05-07 |
pascal@20286 | 3 |
pascal@20286 | 4 --- a/amd64/src/wl/sys/wl_cfg80211.c |
pascal@20286 | 5 +++ b/amd64/src/wl/sys/wl_cfg80211.c |
pascal@20324 | 6 @@ -2112,7 +2112,11 @@ |
pascal@20286 | 7 rcu_read_unlock(); |
pascal@20286 | 8 #endif |
pascal@20286 | 9 beacon_interval = bss->beacon_interval; |
pascal@20286 | 10 +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 9, 0) |
pascal@20286 | 11 cfg80211_put_bss(bss); |
pascal@20286 | 12 +#else |
pascal@20286 | 13 + cfg80211_put_bss(wl_to_wiphy(wl), bss); |
pascal@20286 | 14 +#endif |
pascal@20286 | 15 } |
pascal@20286 | 16 |
pascal@20286 | 17 tim = bcm_parse_tlvs(ie, ie_len, WLAN_EID_TIM); |