From c06cd3e0ac435bb176fd3beba055bd62d20b5883 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Thu, 2 Aug 2018 16:15:14 +0300 Subject: [PATCH] HS 2.0: Fix hs20-osu-client handling of HomeSP/HomeOIList//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 --- hs20/client/osu_client.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hs20/client/osu_client.c b/hs20/client/osu_client.c index b0567039f..a7ddd1911 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"); }