Message ID | 20220201174256.1690515-1-trix@redhat.com |
---|---|
State | Accepted |
Commit | 8cd3c55c629efd91e5f2b3e89d850575c5b90d47 |
Headers | show |
Series | Bluetooth: hci_sync: fix undefined return of hci_disconnect_all_sync() | expand |
diff --git a/net/bluetooth/hci_sync.c b/net/bluetooth/hci_sync.c index 6e71aa6b6feae..9327737da6003 100644 --- a/net/bluetooth/hci_sync.c +++ b/net/bluetooth/hci_sync.c @@ -4425,7 +4425,7 @@ static int hci_disconnect_all_sync(struct hci_dev *hdev, u8 reason) return err; } - return err; + return 0; } /* This function perform power off HCI command sequence as follows: