commit | 4f9b9a4500d8d6d70e385fc931bc2e26c35cf88a | [log] [tgz] |
---|---|---|
author | Robert Lubos <robert.lubos@nordicsemi.no> | Tue Feb 11 16:31:12 2020 +0100 |
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Wed Feb 12 10:22:49 2020 +0200 |
tree | 3ba02ccd27964c2ae4a145af59ae3796422c7196 | |
parent | da98c88cdbc881ccba632381bdd01b6adb2aabe6 [diff] |
shell: telnet: Replace timer with a delayed work A `k_timer` callback is called from the ISR context on certain devices (nRF), which resulted in an assert in the kernel, as `telnet_send`, and thus `net_context_send` used a mutex. Fix the issue by replacing a timer used by the `shell_telnet` module with a delayed work, which will execute it's callback in a system workqueue context. Fixes #22697 Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>