Skip to content

Instantly share code, notes, and snippets.

@trustin
trustin / noroaming.patch
Created September 12, 2015 08:00
broadcom-wl patch that fixes the crash on multi-AP environment
diff -urN a/src/wl/sys/wl_cfg80211_hybrid.c b/src/wl/sys/wl_cfg80211_hybrid.c
--- a/src/wl/sys/wl_cfg80211_hybrid.c 2015-09-12 16:39:28.000000000 +0900
+++ b/src/wl/sys/wl_cfg80211_hybrid.c 2015-09-12 16:50:44.908084821 +0900
@@ -2150,8 +2150,12 @@
WL_DBG(("\n"));
if (status == WLC_E_STATUS_SUCCESS) {
- err = wl_bss_roaming_done(wl, ndev, e, data);
- wl->profile->active = true;
+ if (!wl_bss_roaming_done(wl, ndev, e, data)) {