projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e24c235
)
staging: vt6655: MACvSetDefaultKeyEntry replace WLAN_WEP104_KEYLEN
author
Malcolm Priestley
<tvboxspy@gmail.com>
Wed, 29 Oct 2014 17:44:01 +0000
(17:44 +0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 29 Oct 2014 20:31:31 +0000
(13:31 -0700)
with WLAN_KEY_LEN_WEP40
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/mac.c
patch
|
blob
|
history
diff --git
a/drivers/staging/vt6655/mac.c
b/drivers/staging/vt6655/mac.c
index e3b0b7f7ca852a35b30bef5bc3f533be7ea9ab3c..a347f3963934036534e288d8e0ee1caa79845081 100644
(file)
--- a/
drivers/staging/vt6655/mac.c
+++ b/
drivers/staging/vt6655/mac.c
@@
-1526,7
+1526,7
@@
void MACvSetDefaultKeyEntry(void __iomem *dwIoBase, unsigned int uKeyLen,
VNSvOutPortW(dwIoBase + MAC_REG_MISCFFCTL, MISCFFCTL_WRITE);
}
dwData = *pdwKey;
- if (uKeyLen == WLAN_
WEP104_KEYLEN
)
+ if (uKeyLen == WLAN_
KEY_LEN_WEP40
)
dwData |= 0x80000000;
VNSvOutPortW(dwIoBase + MAC_REG_MISCFFNDEX, wOffset+3);