iwlwifi 4965 Fix race conditional panic.
authorJoonwoo Park <joonwpark81@gmail.com>
Thu, 29 Nov 2007 01:43:16 +0000 (10:43 +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/iwl4965-base.c

index 22d3bbc7be52db2c0d973824f50d5b274f60f2af..8f85564ec6fa4b7e0eac18476d661b5d74534e71 100644 (file)
@@ -8870,6 +8870,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);