commit | 267cbd94698e2a5430efa45ef0990ddffdfe70c3 | [log] [tgz] |
---|---|---|
author | Michael Scott <michael.scott@linaro.org> | Mon Jan 23 14:30:55 2017 -0800 |
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Fri Feb 03 15:59:16 2017 +0200 |
tree | c2f2e644fb86af9ec73c443f63731eeb0174a382 | |
parent | 36b551edeb1f0f0bf978447a1a555ca875676f1b [diff] |
samples: net: irc_bot: simplify connect path K_FOREVER timeout in net_context_connect() will wait until SYNACK has been received and we're ready to proceed with socket communication. To make the code as clear as possible, let's remove 2 callback functions and relocate that code inside zirc_connect(). Change-Id: I6c64852ad5f48b24e1e6a58a741981e7d07bfd40 Signed-off-by: Michael Scott <michael.scott@linaro.org>