summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshish Kumar Dhanotiya <adhanoti@codeaurora.org>2017-03-24 15:53:52 +0530
committerSandeep Puligilla <spuligil@codeaurora.org>2017-03-27 03:38:22 -0700
commit1595edb9a267efc68bf918821818d186fd65252c (patch)
treec6661446891a0df189ff370a8490fa408560848e
parentcac134bf69710a707a3f47fbcedb42f97932f4dc (diff)
qcacld-3.0: Check unsafe channel on bss start
qcacld-2.0 to qcacld-3.0 propagation. There is a race condition, LTE channel avoidance indication is received while BSS is starting, thus BSS is starting on the unsafe channel and driver is not honoring the unsafe channel list given by LTE coex event. Always check current operating channel with unsafe channel list on SAP start. Change-Id: Ieda6fd4c6fa61fd45d340a850d61a6954d2a67a9 CRs-Fixed: 1106969
-rw-r--r--core/hdd/src/wlan_hdd_hostapd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c
index 873f2e7aae69..cec58bc481a7 100644
--- a/core/hdd/src/wlan_hdd_hostapd.c
+++ b/core/hdd/src/wlan_hdd_hostapd.c
@@ -7870,6 +7870,8 @@ int wlan_hdd_cfg80211_start_bss(hdd_adapter_t *pHostapdAdapter,
}
}
#endif
+ /* Check and restart SAP if it is on unsafe channel */
+ hdd_unsafe_channel_restart_sap(pHddCtx);
cds_set_connection_in_progress(false);
pHostapdState->bCommit = true;