qcacld-3.0: Remove code to clean pending_cons_req from WLAN_CLIENT_CONNECT

qcacld-2.0 to qcacld-3.0 propagation

There is a race condition between TX_RESUME opcode, where checks
pending_cons_req before sending WLAN_CONS grant notification to IPA,
and WLAN_CLIENT_CONNECT event where clearing the pending_cons_req.
We don't need to clear pending_cons_req from WLAN_CLIENT_CONNECT
event, which is actually cleared by TX_RESUME opcode.

Change-Id: Icc5d05bc77800251b031efd0c07b0feaa2ae921d
CRs-Fixed: 952171
This commit is contained in:
Yun Park
2016-01-04 17:00:01 -08:00
committed by Akash Patel
parent d78d30cb27
commit 58f72939dd

View File

@@ -3804,7 +3804,6 @@ int hdd_ipa_wlan_evt(hdd_adapter_t *adapter, uint8_t sta_id,
}
hdd_ipa->sap_num_connected_sta++;
hdd_ipa->pending_cons_req = false;
cdf_mutex_release(&hdd_ipa->event_lock);