aboutsummaryrefslogtreecommitdiffstats
path: root/hs20
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-07-30 21:31:16 (GMT)
committerJouni Malinen <j@w1.fi>2018-07-30 21:32:53 (GMT)
commitc1721f05a0675704aed7470fd4778fcb474f3a92 (patch)
tree1fa3fb3c1085d5b9c2e673e0aac6b999c00eae69 /hs20
parent686ca5c45bf45793a96963a8aa098b7d5becfe93 (diff)
downloadhostap-c1721f05a0675704aed7470fd4778fcb474f3a92.zip
hostap-c1721f05a0675704aed7470fd4778fcb474f3a92.tar.gz
hostap-c1721f05a0675704aed7470fd4778fcb474f3a92.tar.bz2
HS 2.0: Allow CCMP as group cipher for OSEN single SSID case
When OSEN is used in the BSS that is shared both for production data and OSU uses, the group cipher might be either GTK_NOT_USED (like in Rel 2 OSEN) or CCMP. Modify hs20-osu-client to allow both these group ciphers to be used when requesting OSEN connection. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'hs20')
-rw-r--r--hs20/client/osu_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hs20/client/osu_client.c b/hs20/client/osu_client.c
index de70065..b056703 100644
--- a/hs20/client/osu_client.c
+++ b/hs20/client/osu_client.c
@@ -2151,7 +2151,7 @@ static int osu_connect(struct hs20_osu_client *ctx, const char *bssid,
if (set_network(ifname, id, "proto", "OSEN") < 0 ||
set_network(ifname, id, "key_mgmt", "OSEN") < 0 ||
set_network(ifname, id, "pairwise", "CCMP") < 0 ||
- set_network(ifname, id, "group", "GTK_NOT_USED") < 0 ||
+ set_network(ifname, id, "group", "GTK_NOT_USED CCMP") < 0 ||
set_network(ifname, id, "eap", "WFA-UNAUTH-TLS") < 0 ||
set_network(ifname, id, "ocsp", "2") < 0 ||
set_network_quoted(ifname, id, "identity", osu_nai) < 0 ||