wok diff broadcom-wl64/stuff/3.9.0.patch @ rev 21804

Up vlc (3.0.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 18:25:28 2019 +0200 (2019-08-15)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/broadcom-wl64/stuff/3.9.0.patch	Thu Aug 15 18:25:28 2019 +0200
     1.3 @@ -0,0 +1,17 @@
     1.4 +Description: Kernel 3.9 compatibility
     1.5 +Last-Update: 2013-05-07
     1.6 +
     1.7 +--- a/amd64/src/wl/sys/wl_cfg80211.c
     1.8 ++++ b/amd64/src/wl/sys/wl_cfg80211.c
     1.9 +@@ -2112,7 +2112,11 @@
    1.10 + 		rcu_read_unlock();
    1.11 + #endif
    1.12 + 		beacon_interval = bss->beacon_interval;
    1.13 ++#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 9, 0)
    1.14 + 		cfg80211_put_bss(bss);
    1.15 ++#else
    1.16 ++		cfg80211_put_bss(wl_to_wiphy(wl), bss);
    1.17 ++#endif
    1.18 + 	}
    1.19 + 
    1.20 + 	tim = bcm_parse_tlvs(ie, ie_len, WLAN_EID_TIM);