|
@@ -3739,6 +3739,7 @@ static void iwl3945_setup_deferred_work(struct iwl_priv *priv)
|
|
|
INIT_DELAYED_WORK(&priv->_3945.rfkill_poll, iwl3945_rfkill_poll);
|
|
|
INIT_WORK(&priv->scan_completed, iwl_bg_scan_completed);
|
|
|
INIT_WORK(&priv->abort_scan, iwl_bg_abort_scan);
|
|
|
+ INIT_WORK(&priv->start_internal_scan, iwl_bg_start_internal_scan);
|
|
|
INIT_DELAYED_WORK(&priv->scan_check, iwl_bg_scan_check);
|
|
|
|
|
|
iwl3945_hw_setup_deferred_work(priv);
|
|
@@ -3761,6 +3762,7 @@ static void iwl3945_cancel_deferred_work(struct iwl_priv *priv)
|
|
|
cancel_delayed_work_sync(&priv->init_alive_start);
|
|
|
cancel_delayed_work(&priv->scan_check);
|
|
|
cancel_delayed_work(&priv->alive_start);
|
|
|
+ cancel_work_sync(&priv->start_internal_scan);
|
|
|
cancel_work_sync(&priv->beacon_update);
|
|
|
if (priv->cfg->ops->lib->recover_from_tx_stall)
|
|
|
del_timer_sync(&priv->monitor_recover);
|