Bluetooth: hci_sync: unlock on error in hci_inquiry_result_with_rssi_evt()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 11 Jan 2022 07:23:19 +0000 (10:23 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 11 Jan 2022 21:56:46 +0000 (13:56 -0800)
commitc07ba878ca199a6089cdb323bf526adbeeb4201f
treeaa418950eb3368c1e2d6d7b4097753f2161d3f6b
parent386f626adda81d224f7229e31ebdefcd616b2ff2
Bluetooth: hci_sync: unlock on error in hci_inquiry_result_with_rssi_evt()

Add unlocks to two error paths in hci_inquiry_result_with_rssi_evt().

Fixes: fee645033e2c ("Bluetooth: hci_event: Use skb_pull_data when processing inquiry results")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_event.c