Parent: 949898cc5e7f0657dff91f799718e54dc4cde723
Author: Jonas Maes <jonas@dptechnics.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2022-06-21 23:18:16
Tree: cda99b492c8501c2ea049fc66c68e28da3bda543
mesh: Fix bug where bluetooth-meshd stops sending When there is a backlog of mesh packets to be sent, the packet sender Fix bug where bluetooth-meshd stops sending When there is a backlog of mesh packets to be sent, the packet sender incorrectly infers that the tx worker thread is already running and therefore needn't be invoked. As a result, the mesh daemon will sometimes stop broadcasting while there are still packets in the queue. It will not resume broadcasting. This patch will invoke the tx worker thread correctly in that case. The logic to send packets at least twice when the transmitter is idle was slightly modified accordingly, and should behave the same way as before.
Diffstat
| M | mesh/mesh-io-generic.c | | | 19 | ++++++++- - - - - - - - - - - |
1 files changed, 8 insertions(+), 11 deletions(-)