Преглед на файлове

qcacld-3.0: Fix race condition of disconnect and HT IE BW update

Steps:
1. Get disconnect from wpa supplicant, send rso stop and wait for rsp
status event.
2. Scheduler thread handle HT IE BW update and do vdev start, stopped
rso_stop_timer, started vdev restart timer.
3. Received rsp status event, didn’t find rso_stop_timer, so disconnect
blocked.
4. Disconnect cmd timeout and asserted.

To fix it, cancel Beacon HT IE BW update if vdev not connected.

CRs-Fixed: 3592696
Change-Id: I191230cdacfe115ee10994960456b81bc2f4b7fb
Jianmin Zhu преди 1 година
родител
ревизия
cb82c1f789
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      core/mac/src/pe/lim/lim_utils.c

+ 2 - 2
core/mac/src/pe/lim/lim_utils.c

@@ -3833,8 +3833,8 @@ void lim_update_sta_run_time_ht_switch_chnl_params(struct mac_context *mac,
 		return;
 	}
 
-	if (wlan_cm_is_vdev_roaming(pe_session->vdev)) {
-		pe_err("Roaming is in progress");
+	if (!wlan_cm_is_vdev_connected(pe_session->vdev)) {
+		pe_err("vdev not connected, ignore HT IE BW update");
 		return;
 	}