浏览代码

qcacld-3.0: Avoid keeping in DBS mode when STA connect 5G AP

If Connect candidate has two or more APs in different band,
switch to DBS firstly. After associated 5G AP, will check and
try to switch to single MAC mode.  But during DUT STA-AP key
negotiation, set hw mode cmd is refused to avoid EAPOL fail.

Fix: Delay N sec to check and set hw mode after associated, let
EAPOL handshake finish first.

Change-Id: I7d975fb56fedc30d66c21782607d148137e53e82
CRs-Fixed: 2372485
Jianmin Zhu 6 年之前
父节点
当前提交
5252e04745
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      core/hdd/src/wlan_hdd_assoc.c

+ 2 - 3
core/hdd/src/wlan_hdd_assoc.c

@@ -3285,9 +3285,8 @@ hdd_association_completion_handler(struct hdd_adapter *adapter,
 		policy_mgr_check_concurrent_intf_and_restart_sap(
 			hdd_ctx->psoc);
 		if (roam_info->pBssDesc)
-			policy_mgr_checkn_update_hw_mode_single_mac_mode
-				(hdd_ctx->psoc,
-				 roam_info->pBssDesc->channelId);
+			policy_mgr_check_n_start_opportunistic_timer(
+					hdd_ctx->psoc);
 	} else {
 		bool connect_timeout = false;
 		/* do we need to change the HW mode */