diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-08-19 00:31:42 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-08-26 02:21:55 +0300 |
commit | b5e1acea065fa1339f4049c2bd9782889dc68368 (patch) | |
tree | 4811b281197e5f7d36b0ae44284778f86e800938 /net/bluetooth/hci_event.c | |
parent | 029bde79fb7969dcd9a4b2940efc06e9404a9df1 (diff) | |
download | linux-b5e1acea065fa1339f4049c2bd9782889dc68368.tar.xz |
Bluetooth: ISO: Fix not handling shutdown condition
In order to properly handle shutdown syscall the code shall not assume
that the how argument is always SHUT_RDWR resulting in SHUTDOWN_MASK as
that would result in poll to immediately report EPOLLHUP instead of
properly waiting for disconnect_cfm (Disconnect Complete) which is
rather important for the likes of BAP as the CIG may need to be
reprogrammed.
Fixes: ccf74f2390d6 ("Bluetooth: Add BTPROTO_ISO socket type")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/bluetooth/hci_event.c')
0 files changed, 0 insertions, 0 deletions