1 |
swift 14/06/23 17:49:08 |
2 |
|
3 |
Added: broadcom-sta-6.30.223.141-linux-3.15.patch |
4 |
Log: |
5 |
Fix bug #513156 - Add kernel 3.15 patch, thanks to tomboy64 |
6 |
|
7 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x2EDD52403B68AF47) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.141-linux-3.15.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.141-linux-3.15.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.141-linux-3.15.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: broadcom-sta-6.30.223.141-linux-3.15.patch |
16 |
=================================================================== |
17 |
Add channel parameter to cfg80211_ibss_joined call |
18 |
|
19 |
--- a/src/wl/sys/wl_cfg80211_hybrid.c |
20 |
+++ b/src/wl/sys/wl_cfg80211_hybrid.c |
21 |
@@ -1841,7 +1841,12 @@ wl_notify_connect_status(struct wl_cfg80211_priv *wl, struct net_device *ndev, |
22 |
wl_get_assoc_ies(wl); |
23 |
memcpy(&wl->bssid, &e->addr, ETHER_ADDR_LEN); |
24 |
wl_update_bss_info(wl); |
25 |
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 15, 0) |
26 |
cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, GFP_KERNEL); |
27 |
+#else |
28 |
+ cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, |
29 |
+ &wl->conf->channel, GFP_KERNEL); |
30 |
+#endif |
31 |
set_bit(WL_STATUS_CONNECTED, &wl->status); |
32 |
wl->profile->active = true; |
33 |
} |