binding: bluetooth-pbap: fix hang when an invalid handle was requested 05/19505/1 flounder 6.0.4 6.0.5 flounder/6.0.4 flounder/6.0.5 flounder_6.0.4 flounder_6.0.5
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:32:56 +0000 (20:32 -0800)
commit3eeaa41b75cd0f7598bb24b769267272ca8224ff
tree93f274dc38ff2d189756c8d93422a0c0fc1e83c6
parent8a5813823eb757216f17b5c317c8ede26769dfcc
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