Skip to content

Commit

Permalink
Revert "Bluetooth: hci_qca: Add delay for wcn3990 stability"
Browse files Browse the repository at this point in the history
This reverts commit cde9dde.

The frame reassembly errors were root caused to a transient gpio issue.
The missing response was root caused to an issue with properly managing
RFR in the uart driver.  Addressing those root causes occurs outside of
hci_qca and eliminates the need for the 50ms delay, so remove it.

Signed-off-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
  • Loading branch information
Jeffrey Hugo authored and Marcel Holtmann committed Oct 21, 2019
1 parent fae7548 commit bba79fe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/bluetooth/hci_qca.c
Original file line number Diff line number Diff line change
Expand Up @@ -1155,10 +1155,8 @@ static int qca_set_speed(struct hci_uart *hu, enum qca_speed_type speed_type)
host_set_baudrate(hu, speed);

error:
if (qca_is_wcn399x(soc_type)) {
msleep(50);
if (qca_is_wcn399x(soc_type))
hci_uart_set_flow_control(hu, false);
}

if (soc_type == QCA_WCN3990) {
/* Wait for the controller to send the vendor event
Expand Down

0 comments on commit bba79fe

Please sign in to comment.