From 5ef91e678d3040116c1328fc1a02693069844610 Mon Sep 17 00:00:00 2001 From: Prathyusha N Date: Tue, 3 Dec 2019 15:31:23 +0530 Subject: [PATCH] mesh: Fix string of public-oob and static-oob Fix string typo as per mesh-api.txt Change-Id: I58742118a47a0b304468bcf6245c4871f692b75b Signed-off-by: Anupam Roy --- mesh/agent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mesh/agent.c b/mesh/agent.c index 4f99bad..2603441 100644 --- a/mesh/agent.c +++ b/mesh/agent.c @@ -131,9 +131,9 @@ static void parse_prov_caps(struct mesh_agent_prov_caps *caps, break; } - if (!strcmp(str, "PublicOOB")) + if (!strcmp(str, "public-oob")) caps->pub_type = 1; - else if (!strcmp(str, "StaticOOB")) + else if (!strcmp(str, "static-oob")) caps->static_type = 1; } -- 2.7.4