From 0ba1e8f90e399b862ede76dd23b22adb16654fe2 Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Thu, 15 Nov 2018 12:51:47 +0530 Subject: [PATCH] qcacld-3.0: Fix serialization command list full issue In __wlan_hdd_cfg80211_del_station while disconnecting all the connected stations, driver send both disassoc and deauth and wait for disconnect to complete for the STA. Once disconnect is completed for the 1st STA, it continue to disconnect the next STA. Now as both disassoc and deauth were queued and both of them set the wait event resulting in wait event set twice for a disconnect indication. This result in wait completion for the next STA disconnect as well. This lead dynamo effect and multiple STA disassoc and deauth commands are added in the serialization queue filling it up. Fix this by sending only deauth STA req and removing the duplicate disassoc STA req. Thus the next command will be queued only when disconnect is completed for 1st STA. Change-Id: I4ae6c578a3177a2a6ff75e6e75606e8c5e2f81a0 CRs-Fixed: 2350557 --- core/hdd/src/wlan_hdd_cfg80211.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index c3c7b6730f93..a7cbed77fdb8 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -17958,8 +17958,6 @@ int __wlan_hdd_cfg80211_del_station(struct wiphy *wiphy, goto fn_end; qdf_event_reset(&hapd_state->qdf_sta_disassoc_event); - hdd_softap_sta_disassoc(adapter, - pDelStaParams); qdf_status = hdd_softap_sta_deauth(adapter, pDelStaParams);