aboutsummaryrefslogtreecommitdiffstats
path: root/hs20
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-08-02 13:15:14 (GMT)
committerJouni Malinen <j@w1.fi>2018-08-02 13:15:14 (GMT)
commitc06cd3e0ac435bb176fd3beba055bd62d20b5883 (patch)
tree513998e1b46956d82c042141968394fde6dcfd55 /hs20
parent0a3742950e54c701709ef8ea2436cda68765b382 (diff)
downloadhostap-c06cd3e0ac435bb176fd3beba055bd62d20b5883.zip
hostap-c06cd3e0ac435bb176fd3beba055bd62d20b5883.tar.gz
hostap-c06cd3e0ac435bb176fd3beba055bd62d20b5883.tar.bz2
HS 2.0: Fix hs20-osu-client handling of HomeSP/HomeOIList/<X+>/HomeOI
This node was mapped to a SET_CRED roaming_consortium command with quotation marks even though this is a hexdump of the OI. Remove the quotation marks to allow this to be set correctly in the wpa_supplicant credential. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'hs20')
-rw-r--r--hs20/client/osu_client.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hs20/client/osu_client.c b/hs20/client/osu_client.c
index b056703..a7ddd19 100644
--- a/hs20/client/osu_client.c
+++ b/hs20/client/osu_client.c
@@ -1232,8 +1232,7 @@ static void set_pps_cred_home_sp_oi(struct hs20_osu_client *ctx, int id,
homeoi) < 0)
wpa_printf(MSG_INFO, "Failed to set cred required_roaming_consortium");
} else {
- if (set_cred_quoted(ctx->ifname, id, "roaming_consortium",
- homeoi) < 0)
+ if (set_cred(ctx->ifname, id, "roaming_consortium", homeoi) < 0)
wpa_printf(MSG_INFO, "Failed to set cred roaming_consortium");
}