iwlwifi 3945 Fix race conditional panic.
authorJoonwoo Park <joonwpark81@gmail.com>
Thu, 29 Nov 2007 01:42:49 +0000 (10:42 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Nov 2007 02:34:54 +0000 (21:34 -0500)
Signed-off-by: Joonwoo Park <joonwpark81@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c

index ae89a0f..4bdf237 100644 (file)
@@ -8277,6 +8277,7 @@ static void iwl_cancel_deferred_work(struct iwl_priv *priv)
 {
        iwl_hw_cancel_deferred_work(priv);
 
+       cancel_delayed_work_sync(&priv->init_alive_start);
        cancel_delayed_work(&priv->scan_check);
        cancel_delayed_work(&priv->alive_start);
        cancel_delayed_work(&priv->post_associate);