From: Julia Lawall Date: Tue, 5 May 2009 13:47:06 +0000 (+0200) Subject: Staging: wlan-ng: p80211wext.c: problem with IW_ENCODE_ALG_WEP X-Git-Tag: v2.6.31-rc1~105^2~188 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1611a52c395e6036725104af3a74a0cef8ea42b8;p=pandora-kernel.git 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 Cc: Jiri Slaby Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed