diff options
author | twelveeighty | 2015-08-16 14:42:41 -0600 |
---|---|---|
committer | twelveeighty | 2015-08-16 14:42:41 -0600 |
commit | 2b7a13592e2d22f46d1f1a8bb957985506ca2a8d (patch) | |
tree | 34d4014ab582581b2d21e4d00ad7644117e1dd3c /linux-recent.patch | |
parent | b2541abc90ccd574b4ebe9bf80aff730a3c0f580 (diff) | |
download | aur-2b7a13592e2d22f46d1f1a8bb957985506ca2a8d.tar.gz |
Added patch for kernel 4.2
Diffstat (limited to 'linux-recent.patch')
-rw-r--r-- | linux-recent.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/linux-recent.patch b/linux-recent.patch index 5461b1f823ed..d7a9550b3ef7 100644 --- a/linux-recent.patch +++ b/linux-recent.patch @@ -374,3 +374,17 @@ #endif ASSERT(0); return -1; +--- a/src/wl/sys/wl_cfg80211_hybrid.c 2015-06-11 10:54:19.000000000 -0600 ++++ b/src/wl/sys/wl_cfg80211_hybrid.c 2015-08-16 14:13:19.886705389 -0600 +@@ -2072,7 +2072,11 @@ wl_notify_connect_status(struct wl_cfg80 + } + 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, GFP_KERNEL); ++#else ++ cfg80211_disconnected(ndev, 0, NULL, 0, false, GFP_KERNEL); ++#endif + clear_bit(WL_STATUS_CONNECTED, &wl->status); + wl_link_down(wl); + wl_init_prof(wl->profile); |