aboutsummaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorGravatar Iulia Tanasescu <iulia.tanasescu@nxp.com> 2024-04-02 14:39:30 +0300
committerGravatar Luiz Augusto von Dentz <luiz.von.dentz@intel.com> 2024-05-14 10:51:04 -0400
commit311527e9dafdcae0c5a20d62f4f84ad01b33b5f4 (patch)
tree22aa9fb9b48ca91d090c52e2a3ac7dbbe0f23dad /include/net
parentBluetooth: hci_event: Set DISCOVERY_FINDING on SCAN_ENABLED (diff)
downloadlinux-311527e9dafdcae0c5a20d62f4f84ad01b33b5f4.tar.gz
linux-311527e9dafdcae0c5a20d62f4f84ad01b33b5f4.tar.bz2
linux-311527e9dafdcae0c5a20d62f4f84ad01b33b5f4.zip
Bluetooth: ISO: Make iso_get_sock_listen generic
This makes iso_get_sock_listen more generic, to return matching socket in the state provided as argument. Signed-off-by: Iulia Tanasescu <iulia.tanasescu@nxp.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/bluetooth.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h
index eaec5d6caa29..b3228bd6cd6b 100644
--- a/include/net/bluetooth/bluetooth.h
+++ b/include/net/bluetooth/bluetooth.h
@@ -285,7 +285,7 @@ void bt_err_ratelimited(const char *fmt, ...);
bt_err_ratelimited("%s: " fmt, bt_dev_name(hdev), ##__VA_ARGS__)
/* Connection and socket states */
-enum {
+enum bt_sock_state {
BT_CONNECTED = 1, /* Equal to TCP_ESTABLISHED to make net code happy */
BT_OPEN,
BT_BOUND,