Commit b38773f1 authored by Håvard Reierstad's avatar Håvard Reierstad Committed by Anas Nashif
Browse files

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: default avatarHåvard Reierstad <haavard.reierstad@nordicsemi.no>
parent 665a555e
Loading
Loading
Loading
Loading
+1 −1
Changes for subsys/bluetooth/mesh/net.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -705,7 +705,7 @@ static void bt_mesh_net_relay(struct net_buf_simple *sbuf, struct bt_mesh_net_rx
	 * Anything else (like GATT to adv, or locally originated packets)
	 * use the Network Transmit state.
	 */
	if (rx->net_if == BT_MESH_NET_IF_ADV && !rx->friend_cred) {
	if (rx->net_if == BT_MESH_NET_IF_ADV && !rx->friend_cred && !bridge) {
		transmit = bt_mesh_relay_retransmit_get();
	} else {
		transmit = bt_mesh_net_transmit_get();