Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c65638a72c619e941bcb4006feded09fd358ad5f
Commit:     c65638a72c619e941bcb4006feded09fd358ad5f
Parent:     61cb5dd6d1c81fbb5629f60db4e2a7faa7124b7a
Author:     John W. Linville <[EMAIL PROTECTED]>
AuthorDate: Mon Jan 21 15:36:04 2008 -0500
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 15:10:47 2008 -0800

    ath5k: use AR5K_KEYTABLE_SIZE when initializing key table
    
    ...instead of using AR5K_KEYCACHE_SIZE, which would seem to be a
    typo/thinko...
    
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 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 742616a..75e5970 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)
         * Reset the key cache since some parts do not
         * reset the contents on initial power up.
         */
-       for (i = 0; i < AR5K_KEYCACHE_SIZE; i++)
+       for (i = 0; i < AR5K_KEYTABLE_SIZE; i++)
                ath5k_hw_reset_key(ah, i);
 
        /*
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to