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)
commit9dfe1727b21927c6dd8d703e3a9618b505eb6224
treed29189f8fd6dcaadc11e1098812ce063d6f6c1f0
parent0c7937587d8b0337466c993dc9c7645767f57bfd
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: ccf74f2390d60 ("Bluetooth: Add BTPROTO_ISO socket type")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/iso.c