summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2020-07-21 04:37:15 +0200
committerMarcel Holtmann <marcel@holtmann.org>2020-07-28 09:11:46 +0200
commita7ad4b6119d740b1ec5788f1b98be0fd1c1b5a5a (patch)
tree865a672ace15af3efdf44f148887a3399516aa64 /drivers/bluetooth
parentBluetooth: btusb: Fix and detect most of the Chinese Bluetooth controllers (diff)
downloadlinux-a7ad4b6119d740b1ec5788f1b98be0fd1c1b5a5a.tar.xz
linux-a7ad4b6119d740b1ec5788f1b98be0fd1c1b5a5a.zip
Bluetooth: hci_h5: Set HCI_UART_RESET_ON_INIT to correct flags
HCI_UART_RESET_ON_INIT belongs in hdev_flags, not flags. Fixes: ce945552fde4a09 ("Bluetooth: hci_h5: Add support for serdev enumerated devices") Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/hci_h5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c
index e60b2e0773db..e41854e0d79a 100644
--- a/drivers/bluetooth/hci_h5.c
+++ b/drivers/bluetooth/hci_h5.c
@@ -793,7 +793,7 @@ static int h5_serdev_probe(struct serdev_device *serdev)
if (!h5)
return -ENOMEM;
- set_bit(HCI_UART_RESET_ON_INIT, &h5->serdev_hu.flags);
+ set_bit(HCI_UART_RESET_ON_INIT, &h5->serdev_hu.hdev_flags);
h5->hu = &h5->serdev_hu;
h5->serdev_hu.serdev = serdev;