From 3268ec0acf3856066f07888e68275ebda2ea853a Mon Sep 17 00:00:00 2001 From: Damien Dejean Date: Thu, 15 Sep 2022 08:02:13 +0000 Subject: [PATCH] HS20: Use required_home_ois in hs20-osu-client Move from the now deprecated roaming_consortium and required_roaming_consortium credential parameters to home_ois and required_home_ois. Signed-off-by: Damien Dejean --- hs20/client/osu_client.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/hs20/client/osu_client.c b/hs20/client/osu_client.c index 01e7b7553..2ca85f96c 100644 --- a/hs20/client/osu_client.c +++ b/hs20/client/osu_client.c @@ -1231,12 +1231,13 @@ static void set_pps_cred_home_sp_oi(struct hs20_osu_client *ctx, int id, homeoi, required); if (required) { - if (set_cred(ctx->ifname, id, "required_roaming_consortium", - homeoi) < 0) - wpa_printf(MSG_INFO, "Failed to set cred required_roaming_consortium"); + if (set_cred_quoted(ctx->ifname, id, "required_home_ois", + homeoi) < 0) + wpa_printf(MSG_INFO, + "Failed to set cred required_home_ois"); } else { - if (set_cred(ctx->ifname, id, "roaming_consortium", homeoi) < 0) - wpa_printf(MSG_INFO, "Failed to set cred roaming_consortium"); + if (set_cred_quoted(ctx->ifname, id, "home_ois", homeoi) < 0) + wpa_printf(MSG_INFO, "Failed to set cred home_ois"); } xml_node_get_text_free(ctx->xml, homeoi);