diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-sta.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-sta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-sta.c b/drivers/net/wireless/iwlwifi/iwl-sta.c index 0072ea2c5361..0eb939c40ac1 100644 --- a/drivers/net/wireless/iwlwifi/iwl-sta.c +++ b/drivers/net/wireless/iwlwifi/iwl-sta.c | |||
@@ -490,7 +490,7 @@ void iwl_clear_stations_table(struct iwl_priv *priv) | |||
490 | /* keep track of static keys */ | 490 | /* keep track of static keys */ |
491 | for (i = 0; i < WEP_KEYS_MAX ; i++) { | 491 | for (i = 0; i < WEP_KEYS_MAX ; i++) { |
492 | if (priv->wep_keys[i].key_size) | 492 | if (priv->wep_keys[i].key_size) |
493 | test_and_set_bit(i, &priv->ucode_key_table); | 493 | set_bit(i, &priv->ucode_key_table); |
494 | } | 494 | } |
495 | 495 | ||
496 | spin_unlock_irqrestore(&priv->sta_lock, flags); | 496 | spin_unlock_irqrestore(&priv->sta_lock, flags); |