summaryrefslogtreecommitdiff
path: root/android/client
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2014-11-12 17:14:26 +0200
committerSzymon Janc <szymon.janc@tieto.com>2014-11-13 18:06:07 +0100
commitca3a946ef0cfebc00a7a08672b1055375529e114 (patch)
tree99c64de76c2ddbc6eb1733af2a9ed64626e0b73b /android/client
parentc2f62b972c63e2bd639352dc26269941c8c0cb55 (diff)
downloadbluez-ca3a946ef0cfebc00a7a08672b1055375529e114.tar.gz
android/client: Fix argc count
Diffstat (limited to 'android/client')
-rw-r--r--android/client/if-hf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/client/if-hf.c b/android/client/if-hf.c
index 26c01393b..269e0295b 100644
--- a/android/client/if-hf.c
+++ b/android/client/if-hf.c
@@ -386,7 +386,7 @@ static void init_p(int argc, const char **argv)
RETURN_IF_NULL(if_hf);
#if ANDROID_VERSION >= PLATFORM_VER(5, 0, 0)
- if (argc < 2)
+ if (argc <= 2)
max_hf_clients = 1;
else
max_hf_clients = atoi(argv[2]);