summaryrefslogtreecommitdiff
path: root/sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.141-linux-3.15.patch
diff options
context:
space:
mode:
authorStefanCristian <steven.darklight@gmail.com>2016-10-24 02:02:49 +0000
committerStefanCristian <steven.darklight@gmail.com>2016-10-24 02:02:49 +0000
commite97477359bf749b03a6548c6a9236c029770eea8 (patch)
tree61028e45c82a7bdb7876bd8d2536c382557e9942 /sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.141-linux-3.15.patch
parent6f6762411d44f0805450901cec7c526d09ea039b (diff)
Adding broadcom-sta-dkms for collection and usage ( of dkms ) :P
Diffstat (limited to 'sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.141-linux-3.15.patch')
-rw-r--r--sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.141-linux-3.15.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.141-linux-3.15.patch b/sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.141-linux-3.15.patch
new file mode 100644
index 00000000..5596c0eb
--- /dev/null
+++ b/sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.141-linux-3.15.patch
@@ -0,0 +1,17 @@
+Add channel parameter to cfg80211_ibss_joined call
+
+--- a/src/wl/sys/wl_cfg80211_hybrid.c
++++ b/src/wl/sys/wl_cfg80211_hybrid.c
+@@ -1841,7 +1841,12 @@ wl_notify_connect_status(struct wl_cfg80211_priv *wl, struct net_device *ndev,
+ wl_get_assoc_ies(wl);
+ memcpy(&wl->bssid, &e->addr, ETHER_ADDR_LEN);
+ wl_update_bss_info(wl);
++#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 15, 0)
+ cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, GFP_KERNEL);
++#else
++ cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid,
++ &wl->conf->channel, GFP_KERNEL);
++#endif
+ set_bit(WL_STATUS_CONNECTED, &wl->status);
+ wl->profile->active = true;
+ }