From: Jouni Malinen Date: Thu, 2 Aug 2018 13:15:14 +0000 (+0300) Subject: HS 2.0: Fix hs20-osu-client handling of HomeSP/HomeOIList//HomeOI X-Git-Tag: hostap_2_7~226 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c06cd3e0ac435bb176fd3beba055bd62d20b5883;p=thirdparty%2Fhostap.git 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 --- 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"); }