소스 검색

qcacmn: Move the resource config command before init command

Move the resource configuration command after initializing
pdev wmi handle and just before wmi init command.

CRs-Fixed: 2801602
Change-Id: I3a476cbbccd5874c79cfa08f1252c728ebc9a5c6
Balaganapathy Palanisamy 4 년 전
부모
커밋
1ba65c35d7
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 0
      target_if/init_deinit/src/init_cmd_api.c
  2. 0 2
      target_if/init_deinit/src/init_event_handler.c

+ 2 - 0
target_if/init_deinit/src/init_cmd_api.c

@@ -471,6 +471,8 @@ void init_deinit_prepare_send_init_cmd(
 	else
 		target_if_debug("0x%x\n", info->target_caps.fw_version_1);
 
+	target_if_ext_res_cfg_enable(psoc, tgt_hdl, NULL);
+
 	wmi_unified_init_cmd_send(wmi_handle, &init_param);
 
 	/* Set Max scans allowed */

+ 0 - 2
target_if/init_deinit/src/init_event_handler.c

@@ -98,8 +98,6 @@ static int init_deinit_service_ready_event_handler(ol_scn_t scn_handle,
 		wlan_psoc_nif_op_flag_set(psoc, WLAN_SOC_OP_VHT_INVALID_CAP);
 	}
 
-	target_if_ext_res_cfg_enable(psoc, tgt_hdl, event);
-
 	if (wmi_service_enabled(wmi_handle, wmi_service_tt))
 		wlan_psoc_nif_fw_ext_cap_set(psoc, WLAN_SOC_CEXT_TT_SUPPORT);