mesh: onoff-model: Fix msec to sec conversion

System Internals / BlueZ - Michal Hobot [silvair.com] - 27 November 2017 08:50 EST

There is an error in meshctl while displaying transition time. 1000 ms is being presented as 16 sec, 40 ms. The reason is incorrect conversion of milliseconds to seconds. The fix is pretty trivial.

7be84fe31 mesh: onoff-model: Fix msec to sec conversion
mesh/onoff-model.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Upstream: git.kernel.org


  • Share