Commit 8746c3fd authored by Johan Hedberg's avatar Johan Hedberg Committed by Anas Nashif
Browse files

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: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent a4aaf8bb
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -513,8 +513,7 @@ bool bt_mesh_fixed_group_match(u16_t addr)
	case BT_MESH_ADDR_ALL_NODES:
		return true;
	case BT_MESH_ADDR_PROXIES:
		/* TODO: Proxy not yet supported */
		return false;
		return (bt_mesh_gatt_proxy_get() == BT_MESH_GATT_PROXY_ENABLED);
	case BT_MESH_ADDR_FRIENDS:
		return (bt_mesh_friend_get() == BT_MESH_FRIEND_ENABLED);
	case BT_MESH_ADDR_RELAYS: