summaryrefslogtreecommitdiff
path: root/iwinfo_nl80211.c
diff options
context:
space:
mode:
Diffstat (limited to 'iwinfo_nl80211.c')
-rw-r--r--iwinfo_nl80211.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/iwinfo_nl80211.c b/iwinfo_nl80211.c
index b067fc1..5ca5c03 100644
--- a/iwinfo_nl80211.c
+++ b/iwinfo_nl80211.c
@@ -1654,10 +1654,11 @@ static struct {
{ "WEP-40", IWINFO_CIPHER_WEP40 },
{ "NONE", IWINFO_CIPHER_NONE },
{ "TKIP", IWINFO_CIPHER_TKIP },
- { "CCMP", IWINFO_CIPHER_CCMP }
+ { "CCMP", IWINFO_CIPHER_CCMP },
+ { "GCMP", IWINFO_CIPHER_GCMP }
};
-static void parse_wpa_ciphers(const char *str, uint8_t *ciphers)
+static void parse_wpa_ciphers(const char *str, uint16_t *ciphers)
{
int i;
size_t l;