diff options
author | sam <sam@FreeBSD.org> | 2009-06-07 23:16:10 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-06-07 23:16:10 +0000 |
commit | ee2d4a84ad150dbc5c9657e6d1289f306a1af833 (patch) | |
tree | 6d8e00c080e4577b152354ec64eaccd5c422eefe /sys/net80211 | |
parent | 9bf362d0cc3f533a0c7e793fd354bfabfce44de6 (diff) | |
download | FreeBSD-src-ee2d4a84ad150dbc5c9657e6d1289f306a1af833.zip FreeBSD-src-ee2d4a84ad150dbc5c9657e6d1289f306a1af833.tar.gz |
use c99-style initializers
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_crypto.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/net80211/ieee80211_crypto.c b/sys/net80211/ieee80211_crypto.c index 126de72..1eb6f0b 100644 --- a/sys/net80211/ieee80211_crypto.c +++ b/sys/net80211/ieee80211_crypto.c @@ -235,13 +235,13 @@ ieee80211_crypto_available(u_int cipher) /* XXX well-known names! */ static const char *cipher_modnames[IEEE80211_CIPHER_MAX] = { - "wlan_wep", /* IEEE80211_CIPHER_WEP */ - "wlan_tkip", /* IEEE80211_CIPHER_TKIP */ - "wlan_aes_ocb", /* IEEE80211_CIPHER_AES_OCB */ - "wlan_ccmp", /* IEEE80211_CIPHER_AES_CCM */ - "#4", /* reserved */ - "wlan_ckip", /* IEEE80211_CIPHER_CKIP */ - "wlan_none", /* IEEE80211_CIPHER_NONE */ + [IEEE80211_CIPHER_WEP] = "wlan_wep", + [IEEE80211_CIPHER_TKIP] = "wlan_tkip", + [IEEE80211_CIPHER_AES_OCB] = "wlan_aes_ocb", + [IEEE80211_CIPHER_AES_CCM] = "wlan_ccmp", + [IEEE80211_CIPHER_TKIPMIC] = "#4", /* NB: reserved */ + [IEEE80211_CIPHER_CKIP] = "wlan_ckip", + [IEEE80211_CIPHER_NONE] = "wlan_none", }; /* |