diff options
author | StefanCristian <steven.darklight@gmail.com> | 2016-10-24 02:02:49 +0000 |
---|---|---|
committer | StefanCristian <steven.darklight@gmail.com> | 2016-10-24 02:02:49 +0000 |
commit | e97477359bf749b03a6548c6a9236c029770eea8 (patch) | |
tree | 61028e45c82a7bdb7876bd8d2536c382557e9942 /sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.248-r4-linux-4.2.patch | |
parent | 6f6762411d44f0805450901cec7c526d09ea039b (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.248-r4-linux-4.2.patch')
-rw-r--r-- | sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.248-r4-linux-4.2.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.248-r4-linux-4.2.patch b/sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.248-r4-linux-4.2.patch new file mode 100644 index 00000000..9e9f8a15 --- /dev/null +++ b/sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.248-r4-linux-4.2.patch @@ -0,0 +1,16 @@ +diff --git a/src/wl/sys/wl_cfg80211_hybrid.c b/src/wl/sys/wl_cfg80211_hybrid.c +index ea0726f..1541dad 100644 +--- a/src/wl/sys/wl_cfg80211_hybrid.c ++++ b/src/wl/sys/wl_cfg80211_hybrid.c +@@ -2047,7 +2047,11 @@ wl_notify_connect_status(struct wl_cfg80211_priv *wl, struct net_device *ndev, + } + else if ((event == WLC_E_LINK && ~(flags & WLC_EVENT_MSG_LINK)) || + event == WLC_E_DEAUTH_IND || event == WLC_E_DISASSOC_IND) { ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0) ++ cfg80211_disconnected(ndev, 0, NULL, 0, false, GFP_KERNEL); ++#else + cfg80211_disconnected(ndev, 0, NULL, 0, GFP_KERNEL); ++#endif + clear_bit(WL_STATUS_CONNECTED, &wl->status); + wl_link_down(wl); + wl_init_prof(wl->profile); |