diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-01-18 17:50:27 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:00:47 -0500 |
commit | 672cf3cefe5f686637dec72b9f3d21fe1cdc8c94 (patch) | |
tree | 86df7c4772b072a7cc0b80bae7240af7d6c0966b /drivers/net | |
parent | 3d3e451ff71b4e951d4b522b460a94f36fb5b276 (diff) |
ath5k: notice a negative keytype
To notice a negative keytype
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath5k/pcu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath5k/pcu.c b/drivers/net/wireless/ath5k/pcu.c index e758b70ab7eb..86f53a55b0f7 100644 --- a/drivers/net/wireless/ath5k/pcu.c +++ b/drivers/net/wireless/ath5k/pcu.c | |||
@@ -1044,7 +1044,7 @@ int ath5k_hw_set_key(struct ath5k_hw *ah, u16 entry, | |||
1044 | __le32 key_v[5] = {}; | 1044 | __le32 key_v[5] = {}; |
1045 | __le32 key0 = 0, key1 = 0; | 1045 | __le32 key0 = 0, key1 = 0; |
1046 | __le32 *rxmic, *txmic; | 1046 | __le32 *rxmic, *txmic; |
1047 | u32 keytype; | 1047 | int keytype; |
1048 | u16 micentry = entry + AR5K_KEYTABLE_MIC_OFFSET; | 1048 | u16 micentry = entry + AR5K_KEYTABLE_MIC_OFFSET; |
1049 | bool is_tkip; | 1049 | bool is_tkip; |
1050 | const u8 *key_ptr; | 1050 | const u8 *key_ptr; |