wapi: fix passphrase can not update if prefix is same
@@ -148,7 +148,7 @@ static bool wapi_json_update(FAR cJSON *root,
int len = strlen(obj->valuestring);
if (len > 0)
{
- if (!strncmp(value, obj->valuestring, len))
+ if (!strcmp(value, obj->valuestring))
{
return false;
}
