From: Jussi Kivilinna Date: Thu, 20 Aug 2009 18:00:34 +0000 (+0300) Subject: rndis_wlan: fix broken logic in add_wep_key() X-Git-Tag: v2.6.32-rc1~703^2~275^2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40ba60ddfeff8ef42fb33c0bdacfbb5f83e96b32;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed