History

Bluetooth: Fix printing errors if LE Connection times out

This fixes errors like bellow when LE Connection times out since that is actually not a controller error: Bluetooth: hci0: Opcode 0x200d failed: -110 Bluetooth: hci0: request failed to create LE connection: err -110 Instead the code shall properly detect if -ETIMEDOUT is returned and send HCI_OP_LE_CREATE_CONN_CANCEL to give up on the connection.

Luiz Augusto von Dentz committed 3 years ago

Commit b62e7221 parent 19cf60b4 files · +22 −15Browse files

Showing the changes to include (1 of 4 files). Show all

Unified · Split

include/net/bluetooth/hci_core.h+1−0
@@ -954,6 +954,7 @@ enum { · 953 unmodified lines
954 HCI_CONN_STK_ENCRYPT,954 HCI_CONN_STK_ENCRYPT,
955 HCI_CONN_AUTH_INITIATOR,955 HCI_CONN_AUTH_INITIATOR,
956 HCI_CONN_DROP,956 HCI_CONN_DROP,
957 HCI_CONN_CANCEL,
957 HCI_CONN_PARAM_REMOVAL_PEND,958 HCI_CONN_PARAM_REMOVAL_PEND,
958 HCI_CONN_NEW_LINK_KEY,959 HCI_CONN_NEW_LINK_KEY,
959 HCI_CONN_SCANNING,960 HCI_CONN_SCANNING,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t