瀏覽代碼

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
Dundi Raviteja 6 年之前
父節點
當前提交
04037a171f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      core/hdd/src/wlan_hdd_assoc.c

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

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