diff --git a/subsys/bluetooth/mesh/subnet.h b/subsys/bluetooth/mesh/subnet.h index b5a71093f81..23a9a417c54 100644 --- a/subsys/bluetooth/mesh/subnet.h +++ b/subsys/bluetooth/mesh/subnet.h @@ -74,7 +74,7 @@ struct bt_mesh_subnet { struct bt_mesh_key net; /* NetKey */ struct bt_mesh_net_cred msg; uint8_t net_id[8]; /* Network ID */ - #if defined(CONFIG_BT_MESH_GATT_PROXY) + #if defined(CONFIG_BT_MESH_GATT) struct bt_mesh_key identity; /* IdentityKey */ #endif struct bt_mesh_key beacon; /* BeaconKey */