projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d3e451
)
ath5k: notice a negative keytype
author
Roel Kluin
<roel.kluin@gmail.com>
Sun, 18 Jan 2009 22:50:27 +0000
(23:50 +0100)
committer
John W. Linville
<linville@tuxdriver.com>
Thu, 29 Jan 2009 21:00:47 +0000
(16:00 -0500)
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>
drivers/net/wireless/ath5k/pcu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/ath5k/pcu.c
b/drivers/net/wireless/ath5k/pcu.c
index e758b70ab7eb70b19e78653fcf810e2717dece83..86f53a55b0f798fdc857361fcd260b81c0c3edbe 100644
(file)
--- 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,
__le32 key_v[5] = {};
__le32 key0 = 0, key1 = 0;
__le32 *rxmic, *txmic;
-
u32
keytype;
+
int
keytype;
u16 micentry = entry + AR5K_KEYTABLE_MIC_OFFSET;
bool is_tkip;
const u8 *key_ptr;