Bluetooth: Use bt_status to convert from errno
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 4 May 2022 23:49:17 +0000 (16:49 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 22 Jul 2022 00:15:55 +0000 (17:15 -0700)
commita86ddbffa6ed05bc2465a545a96627b6e776c019
tree05ec145a5b7921be53c4edd5d071d5a11036e62c
parentca2045e059c3aa1b06c9aed448672bc86dfdce11
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>
net/bluetooth/hci_conn.c