]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: use key size constants
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 24 May 2009 14:57:19 +0000 (16:57 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 3 Jun 2009 18:05:10 +0000 (14:05 -0400)
commita9659e4aaf0aedb7f5cdc54dce933db1518e4742
treef2093f0edbef526bd54bb1d5f8913f2dc6a7a4c8
parent26e44b060c2b0dd8f143f8b483e8957796e01905
cfg80211: use key size constants

Instead of hardcoding the key length for validation, use the
constants Zhu Yi recently added and add one for AES_CMAC too.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/ieee80211.h
net/wireless/util.c