diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-10-29 17:44:01 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-29 20:31:31 (GMT) |
commit | b0a08a8a73ce698e5d8d0b724a1e88aa1c2becff (patch) | |
tree | 6559226c1842c0082ef7ca15b854cc127cb9c467 /drivers/staging/vt6655 | |
parent | e24c235b5d5edf55a4d9413c01bc08f2138c4f42 (diff) | |
download | linux-b0a08a8a73ce698e5d8d0b724a1e88aa1c2becff.tar.xz |
staging: vt6655: MACvSetDefaultKeyEntry replace WLAN_WEP104_KEYLEN
with WLAN_KEY_LEN_WEP40
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655')
-rw-r--r-- | drivers/staging/vt6655/mac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6655/mac.c b/drivers/staging/vt6655/mac.c index e3b0b7f..a347f39 100644 --- 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); |