Skip to content

Commit 6600c08

Browse files
rjliao-qcaholtmann
authored andcommitted
Bluetooth: hci_qca: Skip 1 error print in device_want_to_sleep()
Don't fall through to print error message when receive sleep indication in HCI_IBS_RX_ASLEEP state, this is allowed behavior. Signed-off-by: Rocky Liao <rjliao@codeaurora.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
1 parent 12072a6 commit 6600c08

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/bluetooth/hci_qca.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ static void device_want_to_sleep(struct hci_uart *hu)
705705
unsigned long flags;
706706
struct qca_data *qca = hu->priv;
707707

708-
BT_DBG("hu %p want to sleep", hu);
708+
BT_DBG("hu %p want to sleep in %d state", hu, qca->rx_ibs_state);
709709

710710
spin_lock_irqsave(&qca->hci_ibs_lock, flags);
711711

@@ -720,7 +720,7 @@ static void device_want_to_sleep(struct hci_uart *hu)
720720
break;
721721

722722
case HCI_IBS_RX_ASLEEP:
723-
/* Fall through */
723+
break;
724724

725725
default:
726726
/* Any other state is illegal */

0 commit comments

Comments
 (0)