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:26:17 +0300 |
commit | c572909376673d8c126ae2ee53ba754ff9327d98 (patch) | |
tree | 285df5ec3a75b24b862d151400c3e7c1d1d138ae /net/sched/act_api.c | |
parent | 3cfbc6ac22d62d0a06be9ce2996ba9fed75436cd (diff) | |
download | linux-c572909376673d8c126ae2ee53ba754ff9327d98.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/sched/act_api.c')
0 files changed, 0 insertions, 0 deletions