Bluetooth: Call shutdown for HCI_USER_CHANNEL
authorAbhishek Pandit-Subedi <abhishekpandit@chromium.org>
Tue, 27 Sep 2022 20:17:20 +0000 (13:17 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 28 Sep 2022 19:16:12 +0000 (12:16 -0700)
commit8dbc3e75a0a56fb0ab70781338a2283d28a09164
tree553276226e8261c59a3fbaa24dc70c2fc41918e6
parent4b8af331bb4d4cc8bb91c284b11b98dd1e265185
Bluetooth: Call shutdown for HCI_USER_CHANNEL

Some drivers depend on shutdown being called for proper operation.
Unset HCI_USER_CHANNEL and call the full close routine since shutdown is
complementary to setup.

Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_sync.c