BT_MAX_PROTO
if (proto < 0 || proto >= BT_MAX_PROTO)
if (proto < 0 || proto >= BT_MAX_PROTO)
static const struct net_proto_family *bt_proto[BT_MAX_PROTO];
static struct lock_class_key bt_lock_key[BT_MAX_PROTO];
static const char *const bt_key_strings[BT_MAX_PROTO] = {
static struct lock_class_key bt_slock_key[BT_MAX_PROTO];
static const char *const bt_slock_key_strings[BT_MAX_PROTO] = {
if (proto < 0 || proto >= BT_MAX_PROTO)