Bluetooth: ISO: fix timestamped HCI ISO data packet parsing
authorPauli Virtanen <pav@iki.fi>
Mon, 20 Feb 2023 19:38:24 +0000 (19:38 +0000)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 22 Mar 2023 23:05:55 +0000 (16:05 -0700)
commit2f10e40a948e8a2abe7f983df3959a333ca8955f
tree2b29539af2d3f01eb09fe68dafe16a9e4301a21e
parentefe375b716c1c1c9b52a816f5b933a95421020a2
Bluetooth: ISO: fix timestamped HCI ISO data packet parsing

Use correct HCI ISO data packet header struct when the packet has
timestamp. The timestamp, when present, goes before the other fields
(Core v5.3 4E 5.4.5), so the structs are not compatible.

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