diff mbox series

[BlueZ,3/5] mesh: Remove unneeded Sequence Number increment

Message ID 20200124235242.21720-4-brian.gix@intel.com
State New
Headers show
Series mesh: Add NVM storage of Replay Protection List | expand

Commit Message

Brian Gix Jan. 24, 2020, 11:52 p.m. UTC
---
 mesh/net.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/mesh/net.c b/mesh/net.c
index 71ff2cea0..ff43176a3 100644
--- a/mesh/net.c
+++ b/mesh/net.c
@@ -3199,7 +3199,6 @@  bool mesh_net_app_send(struct mesh_net *net, bool frnd_cred, uint16_t src,
 			(dst >= net->src_addr && dst <= net->last_addr)) {
 		/* Adjust our seq_num for "virtual" delivery */
 		net->seq_num += seg_max;
-		mesh_net_next_seq_num(net);
 		return true;
 	}