diff options
-rw-r--r-- | drivers/net/wireless/ath5k/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath5k/base.c b/drivers/net/wireless/ath5k/base.c index 742616a03d5f..75e5970c0799 100644 --- a/drivers/net/wireless/ath5k/base.c +++ b/drivers/net/wireless/ath5k/base.c | |||
@@ -663,7 +663,7 @@ ath5k_attach(struct pci_dev *pdev, struct ieee80211_hw *hw) | |||
663 | * Reset the key cache since some parts do not | 663 | * Reset the key cache since some parts do not |
664 | * reset the contents on initial power up. | 664 | * reset the contents on initial power up. |
665 | */ | 665 | */ |
666 | for (i = 0; i < AR5K_KEYCACHE_SIZE; i++) | 666 | for (i = 0; i < AR5K_KEYTABLE_SIZE; i++) |
667 | ath5k_hw_reset_key(ah, i); | 667 | ath5k_hw_reset_key(ah, i); |
668 | 668 | ||
669 | /* | 669 | /* |