diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2009-08-20 21:00:34 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-28 14:40:25 -0400 |
commit | 40ba60ddfeff8ef42fb33c0bdacfbb5f83e96b32 (patch) | |
tree | 2b3ca427609dc0445f670c4bb900a28993511711 /net | |
parent | 84f6a01ce05fa671f7745b6e041e698a2d1f1341 (diff) | |
download | op-kernel-dev-40ba60ddfeff8ef42fb33c0bdacfbb5f83e96b32.zip op-kernel-dev-40ba60ddfeff8ef42fb33c0bdacfbb5f83e96b32.tar.gz |
rndis_wlan: fix broken logic in add_wep_key()
add_wep_key() tries to check if key length is not 5 AND not 13
but uses (key_len != 5 || key_len != 13) instead. Fix this.
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions