The current 300ms delay after a baudrate change is extremely long.
For WCM3990 it is sufficient to wait 10ms after the baudrate change
request has been sent over the wire.

Also use msleep() instead of a set_current_state() / schedule_timeout()
combo.

Matthias Kaehlcke (2):
  hci_qca: Use msleep() instead of open coding it
  hci_qca: Reduce delay after sending baudrate request for WCN3990

 drivers/bluetooth/hci_qca.c | 30 +++++++++++++++++++++---------
 1 file changed, 21 insertions(+), 9 deletions(-)

-- 
2.21.0.rc2.261.ga7da99ff1b-goog

Reply via email to