HS 2.0: OSU client to send HomeSP/RoamingConsortiumOI to wpa_supplicant

This adds mapping of the PPS MO HomeSP/RoamingConsortiumOI leaf node
value into the wpa_supplicant cred block parameter roaming_consortiums.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2018-04-17 16:21:36 +03:00 committed by Jouni Malinen
parent 53fa04e197
commit 2e88032f1b

View File

@ -1308,7 +1308,9 @@ static void set_pps_cred_home_sp_roaming_consortium_oi(
if (str == NULL) if (str == NULL)
return; return;
wpa_printf(MSG_INFO, "- HomeSP/RoamingConsortiumOI = %s", str); wpa_printf(MSG_INFO, "- HomeSP/RoamingConsortiumOI = %s", str);
/* TODO: Set to wpa_supplicant */ if (set_cred_quoted(ctx->ifname, id, "roaming_consortiums",
str) < 0)
wpa_printf(MSG_INFO, "Failed to set cred roaming_consortiums");
xml_node_get_text_free(ctx->xml, str); xml_node_get_text_free(ctx->xml, str);
} }