diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2014-12-26 12:19:40 +0100 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2015-01-02 18:08:21 +0100 |
commit | 9bcbc7c02243e7157b83fd4a54fb7fb19f8945ef (patch) | |
tree | 8cfdce79327b179e1f038d155def5f527fc73a50 /android/handsfree.c | |
parent | 6a9ca37f379fe8587fabc865d94263b84e8cdcbe (diff) | |
download | bluez-9bcbc7c02243e7157b83fd4a54fb7fb19f8945ef.tar.gz |
android/handsfree: Fix handling invalid configure_wbs command
Passing invalid WBS mode should result in error response.
Diffstat (limited to 'android/handsfree.c')
-rw-r--r-- | android/handsfree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/handsfree.c b/android/handsfree.c index aadcd4130..1a530800c 100644 --- a/android/handsfree.c +++ b/android/handsfree.c @@ -2532,7 +2532,7 @@ static void handle_configure_wbs(const void *buf, uint16_t len) /* TODO */ default: status = HAL_STATUS_FAILED; - break; + goto done; } /* |