diff options
| author | Ethan Chen <intervigil@gmail.com> | 2015-09-15 13:25:37 -0700 |
|---|---|---|
| committer | Rashed Abdel-Tawab <rashed@linux.com> | 2015-10-17 23:53:07 -0400 |
| commit | cdfede10f4aa810421f2216cd17e787a5020086c (patch) | |
| tree | d48927d24b6f74958dd93c84880fbbb4e941103d | |
| parent | a681f3ae6b5d64993356c4a70a34b1a050e5ad1e (diff) | |
| download | android_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
| -rwxr-xr-x | src/hardware.c | 2 |
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; |
