qcacld-3.0: Replace idle timeout flush in fw down
I1bfa8ab7329040c0b5ba989c0d7de7bf7228dd35 moved the idle timeout work flush in an attempt to address a regression caused by moving the WMI stop call in Iea53931771afd93ffaeabf704bbaffcf2460284f. Later, the WMI stop call change was ultimately reverted in I91046efeab8bc13b9f5c37d5a4d02b66c63e35a9, but the flush call was left in its new location. Replace the original call site of the idle timeout work flush, from before Iea53931771afd93ffaeabf704bbaffcf2460284f. Change-Id: I21d74e02b5491dd3b42bb668329d09e77b416b7d CRs-Fixed: 2339335
This commit is contained in:
@@ -1484,6 +1484,8 @@ static void wlan_hdd_purge_notifier(void)
|
||||
return;
|
||||
}
|
||||
|
||||
hdd_psoc_idle_timer_stop(hdd_ctx);
|
||||
|
||||
mutex_lock(&hdd_ctx->iface_change_lock);
|
||||
cds_shutdown_notifier_call();
|
||||
cds_shutdown_notifier_purge();
|
||||
@@ -1559,25 +1561,6 @@ static void wlan_hdd_handle_the_pld_uevent(struct pld_uevent_data *uevent)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* wlan_hdd_flush_iface_idle_work() - function to flush the interface idle work
|
||||
* event
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
static void wlan_hdd_flush_iface_idle_work(void)
|
||||
{
|
||||
struct hdd_context *hdd_ctx;
|
||||
|
||||
hdd_ctx = cds_get_context(QDF_MODULE_ID_HDD);
|
||||
if (!hdd_ctx) {
|
||||
hdd_err("hdd context is NULL ");
|
||||
return;
|
||||
}
|
||||
|
||||
hdd_psoc_idle_timer_stop(hdd_ctx);
|
||||
}
|
||||
|
||||
/**
|
||||
* wlan_hdd_pld_uevent() - update driver status
|
||||
* @dev: device
|
||||
@@ -1591,7 +1574,6 @@ static void wlan_hdd_pld_uevent(struct device *dev,
|
||||
hdd_enter();
|
||||
hdd_info("pld event %d", uevent->uevent);
|
||||
|
||||
wlan_hdd_flush_iface_idle_work();
|
||||
wlan_hdd_set_the_pld_uevent(uevent);
|
||||
mutex_lock(&hdd_init_deinit_lock);
|
||||
wlan_hdd_handle_the_pld_uevent(uevent);
|
||||
|
Reference in New Issue
Block a user