Bluetooth: hci_event: fix Set CIG Parameters error status handling
authorPauli Virtanen <pav@iki.fi>
Fri, 2 Jun 2023 21:28:12 +0000 (00:28 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 29 Jun 2023 17:52:18 +0000 (10:52 -0700)
commitdb9cbcadc16e8b9f0b3ef5870f3a38ebafcbe8e0
tree25932136dc28654be60b00808b43fd9e06ffb50d
parent6b9545dc9f8ff01d8bc1229103960d9cd265343f
Bluetooth: hci_event: fix Set CIG Parameters error status handling

If the event has error status, return right error code and don't show
incorrect "response malformed" messages.

Signed-off-by: Pauli Virtanen <pav@iki.fi>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/bluetooth/hci_event.c