mesh: Fix string of public-oob and static-oob
authorPrathyusha N <prathyusha.n@samsung.com>
Tue, 3 Dec 2019 10:01:23 +0000 (15:31 +0530)
committerAnupam Roy <anupam.r@samsung.com>
Tue, 17 Dec 2019 20:50:39 +0000 (02:20 +0530)
Fix string typo as per mesh-api.txt

Change-Id: I58742118a47a0b304468bcf6245c4871f692b75b
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
mesh/agent.c

index 4f99bad..2603441 100644 (file)
@@ -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;
        }