|
@@ -141,8 +141,10 @@ tSirRetStatus mac_open(struct wlan_objmgr_psoc *psoc, tHalHandle *pHalHandle,
|
|
p_mac->first_scan_done = false;
|
|
p_mac->first_scan_done = false;
|
|
|
|
|
|
status = pe_open(p_mac, cds_cfg);
|
|
status = pe_open(p_mac, cds_cfg);
|
|
- if (eSIR_SUCCESS != status)
|
|
|
|
|
|
+ if (eSIR_SUCCESS != status) {
|
|
pe_err("pe_open() failure");
|
|
pe_err("pe_open() failure");
|
|
|
|
+ cfg_de_init(p_mac);
|
|
|
|
+ }
|
|
|
|
|
|
return status;
|
|
return status;
|
|
}
|
|
}
|