diff options
| author | Yue Ma <yuem@qca.qualcomm.com> | 2015-08-12 16:17:46 -0700 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2015-08-17 15:44:19 +0530 |
| commit | 110180bb87e8585fb94bdd7980e5aedbf90b79d2 (patch) | |
| tree | d317e686d7f1962fddd0e420782d64ad15201f65 | |
| parent | 4eaaab9ab716e8e1cdbb65ced1af9f83d96e00ac (diff) | |
qcacld: Remove unnecessary LOGP checks inside cfg80211 change interface
Once FW asserts, LOGP flag is set immediately in tasklet context and then
schedule a work queue to do SSR. If a cfg80211 function is still going on,
SSR will be blocked. Inside cfg80211 functions, there are some functions
which also have LOGP check, and if LOGP is already set, it will return
from there which may cause upcoming out of sync issues. Remove these checks
to make sure current ongoing cfg80211 change interface function can
complete after FW asserts.
Change-Id: Id3b86dbdf3087ead87b287861d7c94e3479ff4e4
CRs-fixed: 887111
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_hostapd.c | 5 | ||||
| -rwxr-xr-x | CORE/HDD/src/wlan_hdd_main.c | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/CORE/HDD/src/wlan_hdd_hostapd.c b/CORE/HDD/src/wlan_hdd_hostapd.c index 17d8747e4796..47ed973b1724 100644 --- a/CORE/HDD/src/wlan_hdd_hostapd.c +++ b/CORE/HDD/src/wlan_hdd_hostapd.c @@ -6137,11 +6137,6 @@ VOS_STATUS hdd_init_ap_mode( hdd_adapter_t *pAdapter ) ENTER(); - if (pHddCtx->isLogpInProgress) { - hddLog(LOG1, FL("LOGP in Progress. Ignore!!!")); - return VOS_STATUS_E_FAILURE; - } - hdd_set_sap_auth_offload(pAdapter, TRUE); #ifdef WLAN_FEATURE_MBSSID diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c index 290ee715e1c1..5635c8963166 100755 --- a/CORE/HDD/src/wlan_hdd_main.c +++ b/CORE/HDD/src/wlan_hdd_main.c @@ -9156,11 +9156,6 @@ VOS_STATUS hdd_stop_adapter( hdd_context_t *pHddCtx, hdd_adapter_t *pAdapter, ENTER(); - if (pHddCtx->isLogpInProgress) { - hddLog(LOG1, FL("LOGP in Progress. Ignore!!!")); - return VOS_STATUS_E_FAILURE; - } - hddLog(LOG1, FL("Disabling queues")); netif_tx_disable(pAdapter->dev); netif_carrier_off(pAdapter->dev); |
