]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec5062a98cdaddf7256492bab85f72fdf5aed200
treeaa418950eb3368c1e2d6d7b4097753f2161d3f6b
parent71d77274c3e22cddefff79e88d5c79a36166c098
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: c11032d73493 ("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