fix for reseting mwifiex module
This commit is contained in:
parent
61c6bf8a73
commit
55ac953f9f
|
@ -60,7 +60,7 @@ static void wakeup_timer_fn(unsigned long data)
|
||||||
adapter->hw_status = MWIFIEX_HW_STATUS_RESET;
|
adapter->hw_status = MWIFIEX_HW_STATUS_RESET;
|
||||||
mwifiex_cancel_all_pending_cmd(adapter);
|
mwifiex_cancel_all_pending_cmd(adapter);
|
||||||
|
|
||||||
if (adapter->if_ops.card_reset && !adapter->hs_activated)
|
if (adapter->if_ops.card_reset)
|
||||||
adapter->if_ops.card_reset(adapter);
|
adapter->if_ops.card_reset(adapter);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue