Skip to content

Commit 0d3814c

Browse files
LingaoMrlubos
authored andcommitted
[nrf fromtree] Bluetooth: Mesh: Fix missing check local match for mes...
h message For Mesh Message, should only process by model layer when dst is unicast address of this nodes or model subscrip on. Signed-off-by: Lingao Meng <[email protected]> (cherry picked from commit a5ebad1)
1 parent e5353e6 commit 0d3814c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

subsys/bluetooth/mesh/transport.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -753,9 +753,7 @@ static int sdu_recv(struct bt_mesh_net_rx *rx, uint8_t hdr, uint8_t aszmic,
753753

754754
BT_DBG("AKF %u AID 0x%02x", !ctx.crypto.dev_key, AID(&hdr));
755755

756-
if (IS_ENABLED(CONFIG_BT_MESH_FRIEND) && !rx->local_match) {
757-
BT_DBG("Ignoring PDU for LPN 0x%04x of this Friend",
758-
rx->ctx.recv_dst);
756+
if (!rx->local_match) {
759757
return 0;
760758
}
761759

0 commit comments

Comments
 (0)