aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2010-02-02 09:34:50 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-02-02 16:03:41 -0500
commitf09c256375c7cf1e112b8ef6306cdd313490d7c0 (patch)
tree1f888356fb5c0b2ee13b8a5d14990719eeb3c398 /drivers/net/wireless/ath/ath9k/hw.c
parent299af9d3db0fd3a4994e5e66717ecd276bdd60da (diff)
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 'drivers/net/wireless/ath/ath9k/hw.c')
0 files changed, 0 insertions, 0 deletions