]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Put HCI device if inquiry procedure interrupts
authorPan Bian <bianpan2016@163.com>
Thu, 21 Jan 2021 08:10:45 +0000 (00:10 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 25 Jan 2021 15:14:58 +0000 (16:14 +0100)
commit8e3800ec0333fbd13b1bffb0566f466138c0d410
treeb639952b85e47b1753dbb0337d1f3b1d61e57c6c
parentecc907b506a4c671e3ab49247f19cdd9dce0f4ff
Bluetooth: Put HCI device if inquiry procedure interrupts

Jump to the label done to decrement the reference count of HCI device
hdev on path that the Inquiry procedure is interrupted.

Fixes: c430c9599d0a ("Bluetooth: Fix hci_inquiry ioctl usage")
Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_core.c