Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Bluetooth: Use bt_status to convert from errno

If a command cannot be sent or there is a internal error an errno maybe
set instead of a command status.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

+1 -1
+1 -1
net/bluetooth/hci_conn.c
··· 950 950 if (conn != hci_lookup_le_connect(hdev)) 951 951 goto done; 952 952 953 - hci_conn_failed(conn, err); 953 + hci_conn_failed(conn, bt_status(err)); 954 954 955 955 done: 956 956 hci_dev_unlock(hdev);