From: Dan Carpenter Date: Tue, 17 Jan 2012 07:33:31 +0000 (+0300) Subject: mwl8k: fix condition in mwl8k_cmd_encryption_remove_key() X-Git-Tag: v3.3-rc1~17^2~6^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d981e05908f85beb68ae0d935e59c5e399d2136e;p=pandora-kernel.git mwl8k: fix condition in mwl8k_cmd_encryption_remove_key() The intent here was to check whether key->cipher was WEP40 or WEP104. We do a similar check correctly in several other places in this file. The current condition is always true. Signed-off-by: Dan Carpenter Signed-off-by: John W. Linville --- Reading git-diff-tree failed