aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_ath.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-12 07:41:14 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-12 07:41:14 +0200
commitb2a878de11251b06be144b5905e37dd0dc0b0104 (patch)
treef510ac1263ebd939493c3358408325804f7ba6e2 /drivers/bluetooth/hci_ath.c
parentstaging: rtl8712: r8712_xmit_classifier(): Change return values and type (diff)
parentLinux 5.3-rc4 (diff)
downloadlinux-dev-b2a878de11251b06be144b5905e37dd0dc0b0104.tar.xz
linux-dev-b2a878de11251b06be144b5905e37dd0dc0b0104.zip
Merge 5.3-rc4 into staging-next
We need the iio/staging fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/bluetooth/hci_ath.c')
-rw-r--r--drivers/bluetooth/hci_ath.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/bluetooth/hci_ath.c b/drivers/bluetooth/hci_ath.c
index a55be205b91a..dbfe34664633 100644
--- a/drivers/bluetooth/hci_ath.c
+++ b/drivers/bluetooth/hci_ath.c
@@ -98,6 +98,9 @@ static int ath_open(struct hci_uart *hu)
BT_DBG("hu %p", hu);
+ if (!hci_uart_has_flow_control(hu))
+ return -EOPNOTSUPP;
+
ath = kzalloc(sizeof(*ath), GFP_KERNEL);
if (!ath)
return -ENOMEM;