Bluetooth: Mesh: Fix matching for "All Proxies" group address
The bt_mesh_fixed_group_match() function is intended to match the various well-known group addresses, however it was never updated when Proxy support was added. Fixes #19015 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
110332cad9
commit
c333e8e8a4
1 changed files with 1 additions and 2 deletions
|
@ -517,8 +517,7 @@ bool bt_mesh_fixed_group_match(u16_t addr)
|
||||||
case BT_MESH_ADDR_ALL_NODES:
|
case BT_MESH_ADDR_ALL_NODES:
|
||||||
return true;
|
return true;
|
||||||
case BT_MESH_ADDR_PROXIES:
|
case BT_MESH_ADDR_PROXIES:
|
||||||
/* TODO: Proxy not yet supported */
|
return (bt_mesh_gatt_proxy_get() == BT_MESH_GATT_PROXY_ENABLED);
|
||||||
return false;
|
|
||||||
case BT_MESH_ADDR_FRIENDS:
|
case BT_MESH_ADDR_FRIENDS:
|
||||||
return (bt_mesh_friend_get() == BT_MESH_FRIEND_ENABLED);
|
return (bt_mesh_friend_get() == BT_MESH_FRIEND_ENABLED);
|
||||||
case BT_MESH_ADDR_RELAYS:
|
case BT_MESH_ADDR_RELAYS:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue