summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath5k/ath5k.h
diff options
context:
space:
mode:
authorBob Copeland <me@bobcopeland.com>2008-11-26 02:55:21 +0100
committerJohn W. Linville <linville@tuxdriver.com>2008-12-05 15:32:12 +0100
commit671434904633876f89be70af415c35c89fb90115 (patch)
tree91629718a2d21f13484ff7f88c8952b5e4e69df1 /drivers/net/wireless/ath5k/ath5k.h
parentath5k: preserve higher order bits when setting mac address (diff)
downloadlinux-671434904633876f89be70af415c35c89fb90115.tar.xz
linux-671434904633876f89be70af415c35c89fb90115.zip
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>
Diffstat (limited to 'drivers/net/wireless/ath5k/ath5k.h')
0 files changed, 0 insertions, 0 deletions