Diff between 0867017681de8a170c93a3650b4472daa19f191b and d72aab9a665f8392d897854203b75379145754ca
Changed Files
| File | Additions | Deletions | Status |
| android/client/if-bt.c | +1 | -1 | modified |
Full Patch
diff --git a/android/client/if-bt.c b/android/client/if-bt.c
index 48aff1b..7325242 100644
--- a/android/client/if-bt.c
+++ b/android/client/if-bt.c
@@ -628,7 +628,7 @@ static void create_bond_p(int argc, const char **argv)
VERIFY_ADDR_ARG(2, &addr);
#if ANDROID_VERSION >= PLATFORM_VER(5, 0, 0)
- if (argc < 3)
+ if (argc < 4)
transport = BT_TRANSPORT_UNKNOWN;
else
transport = atoi(argv[3]);