Browse Source

qcacld-3.0: Restore dcs detection when ignore acs in STA+SAP scc mode

When dcs triggers acs in STA+SAP mode, dcs detection will be disabled
and acs process will be ignored, but dcs detection won't be restored
again when STA disconnects, it's an issue. Dcs detection and acs
process should work normally when STA disconnects.

Fix is to restore dcs detection when ignore acs in STA+SAP scc mode.

Change-Id: I701fd2eec1d6e293c7c5da460a4e5b13d16c0929
CRs-Fixed: 2784177
hqu 4 years ago
parent
commit
ec88eb6496
1 changed files with 2 additions and 0 deletions
  1. 2 0
      core/hdd/src/wlan_hdd_dcs.c

+ 2 - 0
core/hdd/src/wlan_hdd_dcs.c

@@ -55,6 +55,8 @@ static void hdd_dcs_cb(struct wlan_objmgr_psoc *psoc, uint8_t mac_id,
 
 	if (policy_mgr_is_force_scc(psoc) &&
 	    policy_mgr_is_sta_gc_active_on_mac(psoc, mac_id)) {
+		ucfg_config_dcs_event_data(psoc, mac_id, true);
+
 		hdd_debug("force scc %d, mac id %d sta gc count %d",
 			  policy_mgr_is_force_scc(psoc), mac_id,
 			  policy_mgr_is_sta_gc_active_on_mac(psoc, mac_id));