author | KN <sudharshan@ti.com> | |
Tue, 9 Jun 2020 21:11:29 +0000 (16:11 -0500) | ||
committer | KN <sudharshan@ti.com> | |
Tue, 9 Jun 2020 21:11:29 +0000 (16:11 -0500) | ||
commit | f0546c5f1671bb8aea2cd8298eea50eab9f46f0f | |
tree | 9e9142da7fa50763755497291664fc87dc41f95b | tree | snapshot (tar.xz tar.gz zip) |
parent | 3e8bcd5fe9f23cded9d73b3bb73fc92f699aea5a | commit | diff |
0030 - Mesh: bug fix - make sure when we disconnect we wait for plink_close to be received
When leaving mesh we are not waiting for the other side to respond to our
close command and tear down the interface.
This fix waits for 300ms and only then tears down the interface leaving
enough time for the other side to receive our close action and send us
a close action back.
note - there is still an issue with mesh_join - when calling mesh join
we first tear down the last mesh - in that case we won't wait - and this
bug still occurs - needs to be fixed later on.
Signed-off-by: KN <sudharshan@ti.com>
When leaving mesh we are not waiting for the other side to respond to our
close command and tear down the interface.
This fix waits for 300ms and only then tears down the interface leaving
enough time for the other side to receive our close action and send us
a close action back.
note - there is still an issue with mesh_join - when calling mesh join
we first tear down the last mesh - in that case we won't wait - and this
bug still occurs - needs to be fixed later on.
Signed-off-by: KN <sudharshan@ti.com>