From c5ada8abb3141e2791e7aa023e264fa65dbe941a Mon Sep 17 00:00:00 2001 From: Ashish Kumar Dhanotiya Date: Fri, 24 Feb 2017 17:07:39 +0530 Subject: qcacld-2.0: Check unsafe channel on bss start prima to qcacld-2.0 propation. 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. Add function to always check current operating channel with unsafe channel list on SAP start. Change-Id: Ieda6fd4c6fa61fd45d340a850d61a6954d2a67a9 CRs-Fixed: 1106969 --- CORE/HDD/src/wlan_hdd_cfg80211.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c index 58c8b43db30a..1890ec5a0624 100644 --- a/CORE/HDD/src/wlan_hdd_cfg80211.c +++ b/CORE/HDD/src/wlan_hdd_cfg80211.c @@ -16699,6 +16699,8 @@ static 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); pHostapdState->bCommit = TRUE; EXIT(); -- cgit v1.2.3