aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-05-07 04:49:15 -0400
committerReinette Chatre <reinette.chatre@intel.com>2010-05-10 18:09:08 -0400
commitdb125c787bc2c07ad97ba94707b653885d723a40 (patch)
tree7fe9c3c53e373cc32fe090bca6fea901b6d4c99c /drivers/net/wireless/iwlwifi/iwl-agn.c
parent63d4176933a5c4d9387eb79e1d50a9232e58c06e (diff)
iwlwifi: clear driver stations when going down
During a hw restart, mac80211 will attempt to reconfigure all stations. Currently, that fails and leads to warnings because we still have the stations marked active. Therefore, clear all stations when doing down. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index dd26965e75f3..47563cf9cbaa 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -2405,6 +2405,7 @@ static void __iwl_down(struct iwl_priv *priv)
2405 2405
2406 iwl_clear_ucode_stations(priv); 2406 iwl_clear_ucode_stations(priv);
2407 iwl_dealloc_bcast_station(priv); 2407 iwl_dealloc_bcast_station(priv);
2408 iwl_clear_driver_stations(priv);
2408 2409
2409 /* Unblock any waiting calls */ 2410 /* Unblock any waiting calls */
2410 wake_up_interruptible_all(&priv->wait_command_queue); 2411 wake_up_interruptible_all(&priv->wait_command_queue);