Merge "qcacld-3.0: Fix target_type is incorrect in the hdd_context" into wlan-cld3.driver.lnx.2.0

This commit is contained in:
CNSS_WLAN Service 2017-11-21 14:30:28 -08:00 • committed by Gerrit - the friendly Code Review server
commit 222d4a2155

View file

@ -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 =