]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
HS 2.0: Fix SubscriptionUpdate UpdateMethod value in OSU server
authorJouni Malinen <jouni@codeaurora.org>
Fri, 19 Oct 2018 15:00:02 +0000 (18:00 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 19 Oct 2018 15:00:02 +0000 (18:00 +0300)
This node was modified long time ago to include "SPP-" prefix. Fix the
OSU server implementation to use the correct value.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
hs20/server/spp_server.c

index 1a06e5257eea93c2cca494089e732c04e2e13dfe..1e6c7f74ff2b4ee3e258f8740f9fbfd247c5def8 100644 (file)
@@ -1314,7 +1314,7 @@ static xml_node_t * build_pps(struct hs20_svc *ctx,
 
        upd = xml_node_create(ctx->xml, c, NULL, "SubscriptionUpdate");
        add_text_node(ctx, upd, "UpdateInterval", "4294967295");
-       add_text_node(ctx, upd, "UpdateMethod", "ClientInitiated");
+       add_text_node(ctx, upd, "UpdateMethod", "SPP-ClientInitiated");
        add_text_node(ctx, upd, "Restriction", "HomeSP");
        add_text_node_conf(ctx, realm, upd, "URI", "spp_http_auth_url");
        trust = xml_node_create(ctx->xml, upd, NULL, "TrustRoot");