diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-10-08 01:53:55 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-10-08 10:00:05 +0300 |
commit | acc649c6540ef224cc07d17c4b632da9dedfb6a2 (patch) | |
tree | 88f3872dcfcc296e5cfa6ca45f6d747fe615e636 /drivers/bluetooth/bpa10x.c | |
parent | 075e1f5e6c201111e32da99919eb052edc6d1c82 (diff) | |
download | linux-acc649c6540ef224cc07d17c4b632da9dedfb6a2.tar.bz2 |
Bluetooth: Fix interaction of HCI_QUIRK_RESET_ON_CLOSE and HCI_AUTO_OFF
When the controller requires the HCI Reset command to be send when
closing the transport, the HCI_AUTO_OFF needs to be accounted for. The
current code tries to actually do that, but the flag gets cleared to
early. So store its value and use it that stored value instead of
checking for a flag that is always cleared.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'drivers/bluetooth/bpa10x.c')
0 files changed, 0 insertions, 0 deletions