Forráskód Böngészése

qcacld-3.0: Clear static, dynamic roam channels on NCHO disable

For NCHO disable, clear static and dynamic channels from roam scan
list in driver and firmware.

Change-Id: I24bca4dfb34895b4e86455dea40764af163544f1
CRs-Fixed: 2605299
Srinivas Dasari 5 éve
szülő
commit
a73e5f5dee
1 módosított fájl, 3 hozzáadás és 0 törlés
  1. 3 0
      core/sme/src/common/sme_api.c

+ 3 - 0
core/sme/src/common/sme_api.c

@@ -6878,7 +6878,10 @@ QDF_STATUS sme_roam_control_restore_default_config(mac_handle_t mac_handle,
 
 	sme_restore_default_roaming_params(mac, neighbor_roam_info);
 
+	/* Flush static and dynamic channels in ROAM scan list in firmware */
+	csr_roam_update_cfg(mac, vdev_id, REASON_FLUSH_CHANNEL_LIST);
 	csr_roam_update_cfg(mac, vdev_id, REASON_SCORING_CRITERIA_CHANGED);
+
 out:
 	sme_release_global_lock(&mac->sme);