aboutsummaryrefslogtreecommitdiffstats
path: root/hs20
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-10-19 15:00:02 (GMT)
committerJouni Malinen <j@w1.fi>2018-10-19 15:00:02 (GMT)
commit950cafafb2260b689178712ed5b3fe76133f4980 (patch)
treef44168033928db52cf1bed514e4e93d16163181d /hs20
parent55e5084d9e28026275b5767ff9fa7bb3e18650bd (diff)
downloadhostap-950cafafb2260b689178712ed5b3fe76133f4980.zip
hostap-950cafafb2260b689178712ed5b3fe76133f4980.tar.gz
hostap-950cafafb2260b689178712ed5b3fe76133f4980.tar.bz2
HS 2.0: Fix SubscriptionUpdate UpdateMethod value in OSU server
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>
Diffstat (limited to 'hs20')
-rw-r--r--hs20/server/spp_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hs20/server/spp_server.c b/hs20/server/spp_server.c
index 1a06e52..1e6c7f7 100644
--- a/hs20/server/spp_server.c
+++ b/hs20/server/spp_server.c
@@ -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");