Bluetooth: ISO: Fix handling of listen for unicast
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 28 Aug 2023 20:05:45 +0000 (13:05 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 20 Sep 2023 18:02:02 +0000 (11:02 -0700)
commite0275ea52169412b8faccb4e2f4fed8a057844c6
tree5d889e1db8c81f3dce3d9191c5e320c38f740742
parentc7eaf80bfb0c8cef852cce9501b95dd5a6bddcb9
Bluetooth: ISO: Fix handling of listen for unicast

iso_listen_cis shall only return -EADDRINUSE if the listening socket has
the destination set to BDADDR_ANY otherwise if the destination is set to
a specific address it is for broadcast which shall be ignored.

Fixes: f764a6c2c1e4 ("Bluetooth: ISO: Add broadcast support")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/iso.c