From: Stanislaw Gruszka Date: Tue, 2 Feb 2010 14:34:50 +0000 (+0100) Subject: airo: fix setting zero length WEP key X-Git-Tag: v2.6.34-rc1~233^2~421^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f09c256375c7cf1e112b8ef6306cdd313490d7c0;p=pandora-kernel.git airo: fix setting zero length WEP key Patch prevents call set_wep_key() with zero key length. That fix long standing regression since commit c0380693520b1a1e4f756799a0edc379378b462a "airo: clean up WEP key operations". Additionally print call trace when someone will try to use improper parameters, and remove key.len = 0 assignment, because it is in not possible code path. Reported-by: Chris Siebenmann Bisected-by: Chris Siebenmann Tested-by: Chris Siebenmann Cc: Dan Williams Cc: Signed-off-by: Stanislaw Gruszka Signed-off-by: John W. Linville --- Reading git-diff-tree failed