Explorar el Código

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 hace 6 años
padre
commit
04037a171f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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);