diff options
author | Jakub Tyszkowski <jakub.tyszkowski@tieto.com> | 2014-04-17 08:44:23 +0200 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-04-18 09:07:34 +0200 |
commit | f3c012c6c6d7b0512bfb5a5afcd921e15aa55f50 (patch) | |
tree | be0de5f9f1a7bf48e1ad7d415e61d9d37bfa0640 /android/main.c | |
parent | 9324dab74e0fc7fc2740d24660aca3b85cecc7bf (diff) | |
download | bluez-f3c012c6c6d7b0512bfb5a5afcd921e15aa55f50.tar.gz |
android: Fix not unregistering last profile
Diffstat (limited to 'android/main.c')
-rw-r--r-- | android/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/main.c b/android/main.c index e229a6db4..99ab376a0 100644 --- a/android/main.c +++ b/android/main.c @@ -377,7 +377,7 @@ static void cleanup_services(void) DBG(""); - for (i = HAL_SERVICE_ID_BLUETOOTH; i < HAL_SERVICE_ID_MAX; i++) { + for (i = HAL_SERVICE_ID_BLUETOOTH; i < HAL_SERVICE_ID_MAX + 1; i++) { if (!services[i]) continue; |