projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61cb5dd
)
ath5k: use AR5K_KEYTABLE_SIZE when initializing key table
author
John W. Linville
<linville@tuxdriver.com>
Mon, 21 Jan 2008 20:36:04 +0000
(15:36 -0500)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 23:10:47 +0000
(15:10 -0800)
...instead of using AR5K_KEYCACHE_SIZE, which would seem to be a
typo/thinko...
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/base.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath5k/base.c
b/drivers/net/wireless/ath5k/base.c
index
742616a
..
75e5970
100644
(file)
--- 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)
* Reset the key cache since some parts do not
* reset the contents on initial power up.
*/
- for (i = 0; i < AR5K_KEY
CACH
E_SIZE; i++)
+ for (i = 0; i < AR5K_KEY
TABL
E_SIZE; i++)
ath5k_hw_reset_key(ah, i);
/*