Merge "qcacld-3.0: Set the driver_type in the mac during the mac_open" into wlan-cld3.driver.lnx.2.0-dev

This commit is contained in:
CNSS_WLAN Service 2017-07-26 14:02:54 -07:00 • committed by Gerrit - the friendly Code Review server
commit 246b8faa88

View file

@ -129,6 +129,12 @@ tSirRetStatus mac_open(struct wlan_objmgr_psoc *psoc, tHalHandle *pHalHandle,
*pHalHandle = (tHalHandle) p_mac;
{
/*
* For Non-FTM cases this value will be reset during mac_start
*/
if (cds_cfg->driver_type)
p_mac->gDriverType = eDRIVER_TYPE_MFG;
/* Call routine to initialize CFG data structures */
if (eSIR_SUCCESS != cfg_init(p_mac))
return eSIR_FAILURE;