From 24934e623441310f644e5f72855b0f2bf9f3cd1a Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Mon, 27 Oct 2014 18:38:05 +0200 Subject: Incoming! Moving Rogento.git to kogaion-desktop. Finally --- .../files/broadcom-sta-6.30.223.30-linux-3.9.0.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.30-linux-3.9.0.patch (limited to 'net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.30-linux-3.9.0.patch') diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.30-linux-3.9.0.patch b/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.30-linux-3.9.0.patch new file mode 100644 index 00000000..a6e3d3d1 --- /dev/null +++ b/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.30-linux-3.9.0.patch @@ -0,0 +1,17 @@ +--- src.orig/wl/sys/wl_cfg80211_hybrid.c ++++ src/wl/sys/wl_cfg80211_hybrid.c +@@ -2013,8 +2013,12 @@ + ie_len = (size_t)(ies->len); + rcu_read_unlock(); + #endif +- cfg80211_put_bss(bss); +- } ++#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 9, 0) ++ cfg80211_put_bss(bss); ++#else ++ cfg80211_put_bss(wl_to_wiphy(wl), bss); ++#endif ++ } + + tim = bcm_parse_tlvs(ie, ie_len, WLAN_EID_TIM); + if (tim) { -- cgit v1.2.3