Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135287
b: refs/heads/master
c: 48676eb
h: refs/heads/master
i:
  135285: edf4ad4
  135283: d06c9c9
  135279: d9e2b73
v: v3
  • Loading branch information
Mohamed Abbas authored and John W. Linville committed Mar 16, 2009
1 parent b3b56c5 commit 5bb1968
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fd9377ee6c351b3fd27bcc56fd5e24622df180bb
refs/heads/master: 48676eb3c3de9013de7d9a63fb8ffb70cd540d95
7 changes: 7 additions & 0 deletions trunk/drivers/net/wireless/iwlwifi/iwl-sta.c
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ EXPORT_SYMBOL(iwl_remove_station);
void iwl_clear_stations_table(struct iwl_priv *priv)
{
unsigned long flags;
int i;

spin_lock_irqsave(&priv->sta_lock, flags);

Expand All @@ -486,6 +487,12 @@ void iwl_clear_stations_table(struct iwl_priv *priv)
/* clean ucode key table bit map */
priv->ucode_key_table = 0;

/* keep track of static keys */
for (i = 0; i < WEP_KEYS_MAX ; i++) {
if (priv->wep_keys[i].key_size)
test_and_set_bit(i, &priv->ucode_key_table);
}

spin_unlock_irqrestore(&priv->sta_lock, flags);
}
EXPORT_SYMBOL(iwl_clear_stations_table);
Expand Down

0 comments on commit 5bb1968

Please sign in to comment.