From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> --- android/client/if-bt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html