]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Skip the shutdown routine if the interface is not up
authorGabriele Mazzotta <gabriele.mzt@gmail.com>
Sun, 26 Apr 2015 18:51:50 +0000 (20:51 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 30 Apr 2015 16:45:27 +0000 (18:45 +0200)
commitb242e8d30e532c2b8d046a8051bbac19f355c2ae
tree04220c0d5248da784125aa4ee7ee550f6354c366
parentf02d755299416c68db07d720aa6f1adc0c675719
Bluetooth: Skip the shutdown routine if the interface is not up

Most likely, the shutdown routine requires the interface to be up.
This is the case for BTUSB_INTEL: the routine tries to send a command
to the interface, but since this one is down, it fails and exits once
HCI_INIT_TIMEOUT has expired.

Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Cc: stable@vger.kernel.org # 4.0.x
net/bluetooth/hci_core.c