aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoonwoo Park <joonwpark81@gmail.com>2007-11-28 20:42:49 -0500
committerJohn W. Linville <linville@tuxdriver.com>2007-11-29 21:34:54 -0500
commite47eb6ad41e8fc4c2696665512b70d1fd4cf3f22 (patch)
treeaaa7cc77dd02e6cfeee706e4d24cb62f8c2b07b7
parent864792e3d93a89496e02ca21b2e2eeba0aa857ad (diff)
iwlwifi 3945 Fix race conditional panic.
Signed-off-by: Joonwoo Park <joonwpark81@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index ae89a0f2c799..4bdf237f6adc 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -8277,6 +8277,7 @@ static void iwl_cancel_deferred_work(struct iwl_priv *priv)
8277{ 8277{
8278 iwl_hw_cancel_deferred_work(priv); 8278 iwl_hw_cancel_deferred_work(priv);
8279 8279
8280 cancel_delayed_work_sync(&priv->init_alive_start);
8280 cancel_delayed_work(&priv->scan_check); 8281 cancel_delayed_work(&priv->scan_check);
8281 cancel_delayed_work(&priv->alive_start); 8282 cancel_delayed_work(&priv->alive_start);
8282 cancel_delayed_work(&priv->post_associate); 8283 cancel_delayed_work(&priv->post_associate);