Merge "qcacld-3.0: Add check to Validate cfg_ini" into wlan-cld3.driver.lnx.1.1-dev

This commit is contained in:
Service qcabuildsw 2016-09-19 12:40:32 -07:00 • committed by Gerrit - the friendly Code Review server
commit 6ff6395f46

View file

@ -2359,6 +2359,11 @@ static QDF_STATUS hdd_association_completion_handler(hdd_adapter_t *pAdapter,
return QDF_STATUS_E_FAILURE;
}
/* validate config */
if (!pHddCtx->config) {
hdd_err("config is NULL");
return QDF_STATUS_E_NULL_VALUE;
}
/* HDD has initiated disconnect, do not send connect result indication
* to kernel as it will be handled by __cfg80211_disconnect.
*/