]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: ISO: Fix iso_sock_getsockopt for BT_DEFER_SETUP
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 3 Aug 2022 17:17:17 +0000 (10:17 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 9 Aug 2022 00:06:10 +0000 (17:06 -0700)
commit5ef3be23325ef13993514118ce7c9ca1dc9d2e07
treed29189f8fd6dcaadc11e1098812ce063d6f6c1f0
parent149083a280d92fe43dd4f37ba74022a3355b9725
Bluetooth: ISO: Fix iso_sock_getsockopt for BT_DEFER_SETUP

BT_DEFER_SETUP shall be considered valid for all states except for
BT_CONNECTED as it is also used when initiated a connection rather then
only for BT_BOUND and BT_LISTEN.

Fixes: c7b22e81274f2 ("Bluetooth: Add BTPROTO_ISO socket type")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/iso.c