diff --git a/core/hdd/src/wlan_hdd_driver_ops.c b/core/hdd/src/wlan_hdd_driver_ops.c index be59d982bf..1b2e424648 100644 --- a/core/hdd/src/wlan_hdd_driver_ops.c +++ b/core/hdd/src/wlan_hdd_driver_ops.c @@ -171,8 +171,6 @@ static void hdd_deinit_cds_hif_context(void) if (status) hdd_err("Failed to reset CDS HIF Context"); - - return; } /** @@ -513,7 +511,8 @@ static void wlan_hdd_crash_shutdown(void) static void wlan_hdd_notify_handler(int state) { if (!QDF_IS_EPPING_ENABLED(cds_get_conparam())) { - int ret = 0; + int ret; + ret = hdd_wlan_notify_modem_power_state(state); if (ret < 0) hdd_err("Fail to send notify");