diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-05-11 17:40:39 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-05-11 17:40:39 -0700 |
commit | a48ab883c4a9289694b82cacd95385b8f2367b20 (patch) | |
tree | 65cbf9623e7e0354a963a022a0c7b9984a7e9c4f /include | |
parent | 8bf6008c8bbca77547aac118d022071b94b4cccd (diff) | |
parent | 103a2f3255a95991252f8f13375c3a96a75011cd (diff) | |
download | linux-a48ab883c4a9289694b82cacd95385b8f2367b20.tar.gz |
Merge tag 'for-net-2022-05-11' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth
Luiz Augusto von Dentz says: ==================== bluetooth pull request for net: - Fix the creation of hdev->name when index is greater than 9999 * tag 'for-net-2022-05-11' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth: Bluetooth: Fix the creation of hdev->name ==================== Link: https://lore.kernel.org/r/20220512002901.823647-1-luiz.dentz@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 8abd08245326..62d7b81b1cb7 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -36,6 +36,9 @@ /* HCI priority */ #define HCI_PRIO_MAX 7 +/* HCI maximum id value */ +#define HCI_MAX_ID 10000 + /* HCI Core structures */ struct inquiry_data { bdaddr_t bdaddr; |