diff options
author | Julia Lawall | 2009-05-05 15:47:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2009-06-19 20:00:38 +0200 |
commit | 1611a52c395e6036725104af3a74a0cef8ea42b8 (patch) | |
tree | ea42d6549209446f2a6ddb81c86f581b8c07bf0b /drivers/net/sonic.h | |
parent | Staging: wlan-ng: Change KERN_DEBUG or pr_debug to match orig driver (diff) | |
download | kernel-qcow2-linux-1611a52c395e6036725104af3a74a0cef8ea42b8.tar.gz kernel-qcow2-linux-1611a52c395e6036725104af3a74a0cef8ea42b8.tar.xz kernel-qcow2-linux-1611a52c395e6036725104af3a74a0cef8ea42b8.zip |
Staging: wlan-ng: p80211wext.c: problem with IW_ENCODE_ALG_WEP
The expression !(ext->alg & IW_ENCODE_ALG_WEP) appears to be incorrect,
because there are several possible values for ext->alg that give 1 when
bit-anded with IW_ENCODE_ALG_WEP. Therefore Richard Kennedy suggested to
rewrite the code with !=
Added \n at the end of the debug string as well.
Signed-off-by: Julia Lawall <julia@diku.dk>
Cc: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/sonic.h')
0 files changed, 0 insertions, 0 deletions