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.
Showing the changes to include (1 of 4 files). Show all
Unified · Split
| @@ -954,6 +954,7 @@ enum { · 953 unmodified lines | ||
| 954 | 954 | HCI_CONN_STK_ENCRYPT, |
| 955 | 955 | HCI_CONN_AUTH_INITIATOR, |
| 956 | 956 | HCI_CONN_DROP, |
| 957 | + HCI_CONN_CANCEL, | |
| 957 | 958 | HCI_CONN_PARAM_REMOVAL_PEND, |
| 958 | 959 | HCI_CONN_NEW_LINK_KEY, |
| 959 | 960 | HCI_CONN_SCANNING, |