]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix index added after unregister
authorAbhishek Pandit-Subedi <abhishekpandit@chromium.org>
Thu, 2 Jun 2022 16:46:49 +0000 (09:46 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 22 Jul 2022 00:05:42 +0000 (17:05 -0700)
commit5464da314e0e23017b8f24832b47045bd3c69988
treeedba64c873875dc406d54069f2124dd1f951dbbb
parent5c851323f19cff6214ecbe95a02660b17da1c44e
Bluetooth: Fix index added after unregister

When a userchannel socket is released, we should check whether the hdev
is already unregistered before sending out an IndexAdded.

Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_sock.c