From cdfede10f4aa810421f2216cd17e787a5020086c Mon Sep 17 00:00:00 2001 From: Ethan Chen Date: Tue, 15 Sep 2015 13:25:37 -0700 Subject: libbt-vendor: Fix wisol string comparison Change-Id: I6dd13c7ec087cf536b1fbbfe6325ec93b153d7ae --- src/hardware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/hardware.c b/src/hardware.c index 4421fb4..282dc77 100755 --- a/src/hardware.c +++ b/src/hardware.c @@ -466,7 +466,7 @@ static char *hw_samsung_bluetooth_type() if (strncmp(buf, "semcosh", 7) == 0) return "_semcosh"; - if (strncmp(buf, "wisol", 7) == 0) + if (strncmp(buf, "wisol", 5) == 0) return "_wisol"; return NULL; -- cgit v1.2.3