mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacld-3.0: Fix target_type is incorrect in the hdd_context
The target_type is incorrect in the hdd_context. Call hdd_wlan_update_target_info after calling bmi_download_firmware, which will get target_info from the target. Change-Id: I0fa9834f4adb1fccfbb0d450e2026188bc2be942 CRs-Fixed: 2146174
This commit is contained in:
parent
20b9a0fd4d
commit
086b6995fe
1 changed files with 3 additions and 1 deletions
|
|
@ -520,7 +520,6 @@ QDF_STATUS cds_open(struct wlan_objmgr_psoc *psoc)
|
|||
}
|
||||
|
||||
hdd_enable_fastpath(hdd_ctx->config, scn);
|
||||
hdd_wlan_update_target_info(hdd_ctx, scn);
|
||||
|
||||
/* Initialize BMI and Download firmware */
|
||||
ol_ctx = cds_get_context(QDF_MODULE_ID_BMI);
|
||||
|
|
@ -530,6 +529,9 @@ QDF_STATUS cds_open(struct wlan_objmgr_psoc *psoc)
|
|||
"BMI FIALED status:%d", status);
|
||||
goto err_bmi_close;
|
||||
}
|
||||
|
||||
hdd_wlan_update_target_info(hdd_ctx, scn);
|
||||
|
||||
htcInfo.pContext = ol_ctx;
|
||||
htcInfo.TargetFailure = ol_target_failure;
|
||||
htcInfo.TargetSendSuspendComplete =
|
||||
|
|
|
|||
Loading…
Reference in a new issue