summaryrefslogtreecommitdiffstats
path: root/src/hardware.c
diff options
context:
space:
mode:
authorEthan Chen <intervigil@gmail.com>2015-09-15 13:25:37 -0700
committerRashed Abdel-Tawab <rashed@linux.com>2015-10-17 23:53:07 -0400
commitcdfede10f4aa810421f2216cd17e787a5020086c (patch)
treed48927d24b6f74958dd93c84880fbbb4e941103d /src/hardware.c
parenta681f3ae6b5d64993356c4a70a34b1a050e5ad1e (diff)
downloadandroid_hardware_broadcom_libbt-cdfede10f4aa810421f2216cd17e787a5020086c.tar.gz
android_hardware_broadcom_libbt-cdfede10f4aa810421f2216cd17e787a5020086c.tar.bz2
android_hardware_broadcom_libbt-cdfede10f4aa810421f2216cd17e787a5020086c.zip
libbt-vendor: Fix wisol string comparison
Change-Id: I6dd13c7ec087cf536b1fbbfe6325ec93b153d7ae
Diffstat (limited to 'src/hardware.c')
-rwxr-xr-xsrc/hardware.c2
1 files changed, 1 insertions, 1 deletions
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;