diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-04-08 15:07:44 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-07-21 17:15:31 -0700 |
commit | ca2045e059c3aa1b06c9aed448672bc86dfdce11 (patch) | |
tree | 1e1d003a0a725b64f3c8b04321f2f73ae94b2145 /include/net/bluetooth | |
parent | 1bbf4023cf663b85a2a37ebb2d3eb07fb856ca9a (diff) | |
download | linux-ca2045e059c3aa1b06c9aed448672bc86dfdce11.tar.bz2 |
Bluetooth: Add bt_status
This adds bt_status which can be used to convert Unix errno to
Bluetooth status.
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/bluetooth.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h index a8b52175af05..686ce2591bb2 100644 --- a/include/net/bluetooth/bluetooth.h +++ b/include/net/bluetooth/bluetooth.h @@ -521,6 +521,7 @@ static inline struct sk_buff *bt_skb_sendmmsg(struct sock *sk, } int bt_to_errno(u16 code); +__u8 bt_status(int err); void hci_sock_set_flag(struct sock *sk, int nr); void hci_sock_clear_flag(struct sock *sk, int nr); |