1
linux/drivers/net/wireless/ath5k
Bob Copeland 6714349046 ath5k: clean up ath5k_hw_set_key
Status: O

With the addition of TKIP (and soon CCMP), key->alg is a more useful
guide to key type than the key length.

This patch cleans up key type assignment in ath5k_hw_set_key by
extracting it into its own function.  It also replaces the separate
memcpy() calls for extracting key material into the hardware format
with a loop that works regardless of key size.

Finally, the patch removes support for WEP-128 since it is a
non-standard key length that mac80211 also doesn't use.

Changes-licensed-under: ISC
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-12-05 09:32:12 -05:00
..
ath5k.h ath5k: Clean up eeprom parsing and add missing calibration data 2008-11-26 09:47:41 -05:00
attach.c ath5k: set mac address in add_interface 2008-11-26 09:47:35 -05:00
base.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-11-26 23:48:40 -08:00
base.h ath5k: disable beacon filter when station is not associated 2008-11-25 16:13:08 -05:00
caps.c ath5k: HW code cleanup 2008-09-05 16:15:24 -04:00
debug.c ath5k: fix Security issue in DebugFS part of ath5k 2008-11-25 16:13:08 -05:00
debug.h
desc.c ath5k: correct handling of rx status fields 2008-11-06 16:37:11 -05:00
desc.h ath5k: HW code cleanup 2008-09-05 16:15:24 -04:00
dma.c ath5k: Update interrupt masking code 2008-10-31 19:02:32 -04:00
eeprom.c ath5k: Clean up eeprom parsing and add missing calibration data 2008-11-26 09:47:41 -05:00
eeprom.h ath5k: Clean up eeprom parsing and add missing calibration data 2008-11-26 09:47:41 -05:00
gpio.c ath5k: HW code cleanup 2008-09-05 16:15:24 -04:00
initvals.c ath5k: reduce checkpatch.pl errors 2008-10-31 19:00:40 -04:00
Kconfig
Makefile ath5k: HW code cleanup 2008-09-05 16:15:24 -04:00
pcu.c ath5k: clean up ath5k_hw_set_key 2008-12-05 09:32:12 -05:00
phy.c ath5k: ignore the return value of ath5k_hw_noise_floor_calibration 2008-11-21 11:06:05 -05:00
qcu.c ath5k: Update interrupt masking code 2008-10-31 19:02:32 -04:00
reg.h ath5k: Update PCU code 2008-11-10 15:11:57 -05:00
reset.c ath5k: Clean up eeprom parsing and add missing calibration data 2008-11-26 09:47:41 -05:00