|
@@ -1731,6 +1731,12 @@ int hdd_wlan_start_modules(hdd_context_t *hdd_ctx, hdd_adapter_t *adapter,
|
|
goto hif_close;
|
|
goto hif_close;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ ret = hdd_update_config(hdd_ctx);
|
|
|
|
+ if (ret) {
|
|
|
|
+ hdd_err("Failed to update configuration :%d", ret);
|
|
|
|
+ goto ol_cds_free;
|
|
|
|
+ }
|
|
|
|
+
|
|
status = cds_open();
|
|
status = cds_open();
|
|
if (!QDF_IS_STATUS_SUCCESS(status)) {
|
|
if (!QDF_IS_STATUS_SUCCESS(status)) {
|
|
hdd_err("Failed to Open CDS: %d", status);
|
|
hdd_err("Failed to Open CDS: %d", status);
|
|
@@ -7384,10 +7390,6 @@ int hdd_wlan_startup(struct device *dev)
|
|
|
|
|
|
hdd_wlan_green_ap_init(hdd_ctx);
|
|
hdd_wlan_green_ap_init(hdd_ctx);
|
|
|
|
|
|
- ret = hdd_update_config(hdd_ctx);
|
|
|
|
- if (ret)
|
|
|
|
- goto err_exit_nl_srv;
|
|
|
|
-
|
|
|
|
ret = hdd_wlan_start_modules(hdd_ctx, adapter, false);
|
|
ret = hdd_wlan_start_modules(hdd_ctx, adapter, false);
|
|
if (ret) {
|
|
if (ret) {
|
|
hdd_alert("Failed to start modules: %d", ret);
|
|
hdd_alert("Failed to start modules: %d", ret);
|