Skip to content

Commit f263e73

Browse files
HaavardReicarlescufi
authored andcommitted
[nrf fromtree] Bluetooth: Mesh: Use net xmit params for bridge
Makes sure that the Network Transmit state is used when using a Subnet Bridge. Signed-off-by: Håvard Reierstad <[email protected]> (cherry picked from commit b38773f) Signed-off-by: Håvard Reierstad <[email protected]>
1 parent 962f615 commit f263e73

File tree

1 file changed

+1
-1
lines changed
  • subsys/bluetooth/mesh

1 file changed

+1
-1
lines changed

subsys/bluetooth/mesh/net.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ static void bt_mesh_net_relay(struct net_buf_simple *sbuf, struct bt_mesh_net_rx
705705
* Anything else (like GATT to adv, or locally originated packets)
706706
* use the Network Transmit state.
707707
*/
708-
if (rx->net_if == BT_MESH_NET_IF_ADV && !rx->friend_cred) {
708+
if (rx->net_if == BT_MESH_NET_IF_ADV && !rx->friend_cred && !bridge) {
709709
transmit = bt_mesh_relay_retransmit_get();
710710
} else {
711711
transmit = bt_mesh_net_transmit_get();

0 commit comments

Comments
 (0)