diff options
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); |