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>
This commit is contained in:
Jouni Malinen 2018-08-02 16:15:14 +03:00 committed by Jouni Malinen
parent 0a3742950e
commit c06cd3e0ac

View file

@ -1232,8 +1232,7 @@ static void set_pps_cred_home_sp_oi(struct hs20_osu_client *ctx, int id,
homeoi) < 0) homeoi) < 0)
wpa_printf(MSG_INFO, "Failed to set cred required_roaming_consortium"); wpa_printf(MSG_INFO, "Failed to set cred required_roaming_consortium");
} else { } else {
if (set_cred_quoted(ctx->ifname, id, "roaming_consortium", if (set_cred(ctx->ifname, id, "roaming_consortium", homeoi) < 0)
homeoi) < 0)
wpa_printf(MSG_INFO, "Failed to set cred roaming_consortium"); wpa_printf(MSG_INFO, "Failed to set cred roaming_consortium");
} }