airo: return from set_wep_key() when key length is zero
authorStanislaw Gruszka <sgruszka@redhat.com>
Fri, 26 Feb 2010 14:10:28 +0000 (15:10 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 2 Mar 2010 19:28:48 +0000 (14:28 -0500)
Even if keylen == 0 is a bug and should not really happen, better avoid
possibility of passing bad value to firmware.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found