diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2010-02-26 15:10:28 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-02 14:28:48 -0500 |
commit | 6510b8917948283005a125c8337d3312a8a0561c (patch) | |
tree | fe437f922fe4e866b45ec0d7df89f1281b71e6ac /net/rfkill | |
parent | 2507c05ff55fbf38326b08ed27eaed233bc75042 (diff) | |
download | linux-6510b8917948283005a125c8337d3312a8a0561c.tar.gz linux-6510b8917948283005a125c8337d3312a8a0561c.tar.bz2 linux-6510b8917948283005a125c8337d3312a8a0561c.zip |
airo: return from set_wep_key() when key length is zero
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>
Diffstat (limited to 'net/rfkill')
0 files changed, 0 insertions, 0 deletions