]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: ISO: Don't reject BT_ISO_QOS if parameters are unset
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 13 Mar 2024 19:43:18 +0000 (15:43 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2024 09:19:30 +0000 (11:19 +0200)
commita39cc8d08270ea07f1cc07d1d3d957bd48016d1d
tree51d5e73b863da4d463ca707d4d77d86d816e2a5b
parentc832164549f82b2e25cb5851578bc817b5e29dee
Bluetooth: ISO: Don't reject BT_ISO_QOS if parameters are unset

[ Upstream commit b37cab587aa3c9ab29c6b10aa55627dad713011f ]

Consider certain values (0x00) as unset and load proper default if
an application has not set them properly.

Fixes: 0fe8c8d07134 ("Bluetooth: Split bt_iso_qos into dedicated structures")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/bluetooth/iso.c