diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-05-24 10:57:19 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-06-03 14:05:10 -0400 |
commit | 8fc0fee09245fe740d81aded36f4af6db1054015 (patch) | |
tree | f2093f0edbef526bd54bb1d5f8913f2dc6a7a4c8 /include/linux/ieee80211.h | |
parent | 362a415dce2130b0e4cebfc8f8fbd8128baff308 (diff) |
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>
Diffstat (limited to 'include/linux/ieee80211.h')
-rw-r--r-- | include/linux/ieee80211.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 34de8b21f6d4..a9173d5434d1 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h | |||
@@ -1092,6 +1092,7 @@ enum ieee80211_key_len { | |||
1092 | WLAN_KEY_LEN_WEP104 = 13, | 1092 | WLAN_KEY_LEN_WEP104 = 13, |
1093 | WLAN_KEY_LEN_CCMP = 16, | 1093 | WLAN_KEY_LEN_CCMP = 16, |
1094 | WLAN_KEY_LEN_TKIP = 32, | 1094 | WLAN_KEY_LEN_TKIP = 32, |
1095 | WLAN_KEY_LEN_AES_CMAC = 16, | ||
1095 | }; | 1096 | }; |
1096 | 1097 | ||
1097 | /* | 1098 | /* |