|
@@ -2316,12 +2316,12 @@ int hdd_wlan_start_modules(struct hdd_context *hdd_ctx,
|
|
|
return -EINVAL;
|
|
|
}
|
|
|
|
|
|
- mutex_lock(&hdd_ctx->iface_change_lock);
|
|
|
- hdd_ctx->start_modules_in_progress = true;
|
|
|
-
|
|
|
hdd_set_idle_ps_config(hdd_ctx, false);
|
|
|
qdf_cancel_delayed_work(&hdd_ctx->iface_idle_work);
|
|
|
|
|
|
+ mutex_lock(&hdd_ctx->iface_change_lock);
|
|
|
+ hdd_ctx->start_modules_in_progress = true;
|
|
|
+
|
|
|
switch (hdd_ctx->driver_status) {
|
|
|
case DRIVER_MODULES_UNINITIALIZED:
|
|
|
unint = true;
|