Kaynağa Gözat

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
Yun Park 9 yıl önce
ebeveyn
işleme
58f72939dd
1 değiştirilmiş dosya ile 0 ekleme ve 1 silme
  1. 0 1
      core/hdd/src/wlan_hdd_ipa.c

+ 0 - 1
core/hdd/src/wlan_hdd_ipa.c

@@ -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);