diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2010-02-02 15:34:50 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-02-02 16:03:41 -0500 |
commit | f09c256375c7cf1e112b8ef6306cdd313490d7c0 (patch) | |
tree | 1f888356fb5c0b2ee13b8a5d14990719eeb3c398 /include | |
parent | 299af9d3db0fd3a4994e5e66717ecd276bdd60da (diff) | |
download | op-kernel-dev-f09c256375c7cf1e112b8ef6306cdd313490d7c0.zip op-kernel-dev-f09c256375c7cf1e112b8ef6306cdd313490d7c0.tar.gz |
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 <cks-rhbugzilla@cs.toronto.edu>
Bisected-by: Chris Siebenmann <cks-rhbugzilla@cs.toronto.edu>
Tested-by: Chris Siebenmann <cks@cs.toronto.edu>
Cc: Dan Williams <dcbw@redhat.com>
Cc: <stable@kernel.org>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions