binding: bluetooth-pbap: fix hang when an invalid handle was requested 11/19511/1 6.99.4 7.90.0 guppy/6.99.4 guppy_6.99.4 halibut/7.90.0 halibut_7.90.0
authorMatt Ranostay <matt.ranostay@konsulko.com>
Sat, 5 Jan 2019 01:56:57 +0000 (17:56 -0800)
committerMatt Ranostay <matt.ranostay@konsulko.com>
Sat, 5 Jan 2019 04:38:10 +0000 (20:38 -0800)
commitdb55cecfdfb91b5ef94b790003dd8d2b7dae8563
treeac0f2e4b56604e70646d422bebb3b382e90e0911
parentdb0581986a46da79a2dc290a698444a0f8f60083
binding: bluetooth-pbap: fix hang when an invalid handle was requested

If an invalid handle was requested the wait condition wouldn't ever return.
This patchset handlest the error condition and gracefully alerts the user.

Change-Id: I05fdc6dfff998789aaa9332b1cc755b8e3fd970a
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
binding/bluetooth-pbap-binding.c