qcacld-3.0: Scanning failed due to reassociation is in progress

If driver gets connect command with bssid hint, fast reassoc command
is sent to FW and roaming_in_progress is set to 1. In another thread
while disconnecting, vdev down is sent to FW. As vdev is down fast
reassoc command fails in FW and host will not get response, so
roaming_in_progress will never set to 0.

To address this issue, set roaming_in_progress to 0 after disconnection.

Change-Id: If9c64568353ed01a161cc47c6261f4190c0fb93c
CRs-Fixed: 2305830
Bu işleme şunda yer alıyor:
Dundi Raviteja
2018-08-31 18:41:44 +05:30
işlemeyi yapan: nshrivas
ebeveyn 821a6d0385
işleme 04037a171f

Dosyayı Görüntüle

@@ -1859,6 +1859,7 @@ static QDF_STATUS hdd_dis_connect_handler(struct hdd_adapter *adapter,
if ((eConnectionState_Connecting != sta_ctx->conn_info.connState)) {
hdd_conn_set_connection_state(adapter,
eConnectionState_NotConnected);
hdd_set_roaming_in_progress(false);
}
pmo_ucfg_flush_gtk_offload_req(adapter->vdev);