2014-11-10 06:51:49

by Fugang Duan

[permalink] [raw]
Subject: [PATCH] Bluetooth: hci-uart-ath: Correct the comments in this driver

Correct the comments in this driver. Set the CRTSCTS flag means
automatic flow control is enabled.

Signed-off-by: Fugang Duan <[email protected]>
---
drivers/bluetooth/hci_ath.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/bluetooth/hci_ath.c b/drivers/bluetooth/hci_ath.c
index 0bc8a6a..2ff6dfd 100644
--- a/drivers/bluetooth/hci_ath.c
+++ b/drivers/bluetooth/hci_ath.c
@@ -74,7 +74,7 @@ static int ath_wakeup_ar3k(struct tty_struct *tty)

status = tty->driver->ops->tiocmget(tty);

- /* Disable Automatic RTSCTS */
+ /* Enable Automatic RTSCTS */
ktermios.c_cflag |= CRTSCTS;
status = tty_set_termios(tty, &ktermios);

--
1.7.8


2014-11-10 23:22:47

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] Bluetooth: hci-uart-ath: Correct the comments in this driver

Hi Fugang,

> Correct the comments in this driver. Set the CRTSCTS flag means
> automatic flow control is enabled.
>
> Signed-off-by: Fugang Duan <[email protected]>
> ---
> drivers/bluetooth/hci_ath.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel