cfg80211: use key size constants
commit8fc0fee09245fe740d81aded36f4af6db1054015
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 24 May 2009 14:57:19 +0000 (24 16:57 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 3 Jun 2009 18:05:10 +0000 (3 14:05 -0400)
treef2093f0edbef526bd54bb1d5f8913f2dc6a7a4c8
parent362a415dce2130b0e4cebfc8f8fbd8128baff308
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