Skip to content

Conversation

@tbursztyka
Copy link
Contributor

And print a warning if that happens.

This will also avoid to raise an ASSERT on net_if_tx_thread()'s k_poll
as this one will be called with no events to work with.

Signed-off-by: Tomasz Bursztyka [email protected]

And print a warning if that happens.

This will also avoid to raise an ASSERT on net_if_tx_thread()'s k_poll
as this one will be called with no events to work with.

Signed-off-by: Tomasz Bursztyka <[email protected]>
@nashif nashif added the In progress For PRs: is work in progress and should not be merged yet. For issues: Is being worked on label May 3, 2017
@tbursztyka tbursztyka requested review from jukkar and nashif May 3, 2017 08:19
@jukkar
Copy link
Member

jukkar commented May 3, 2017

btw, in commit subject you could shorten it to just "net/if" or "net: if:"

@pfalcon
Copy link
Contributor

pfalcon commented May 3, 2017

There's also an issue that if networking is enabled, but there's no networking interface, the boot process hangs (w/o any messages). Looking into that is in my long todo. I'm not sure if this patch helps with that, I guess not.

@tbursztyka tbursztyka changed the title net/net_if: Do not start TX thread if there is no network interface net/if: Do not start TX thread if there is no network interface May 3, 2017
@tbursztyka
Copy link
Contributor Author

@pfalcon : Hum, never experienced the issue and the tests that do not enable any net_if always boot and run properly (with or without this patch, besides the fact that ASSERT was screaming on k_poll). In which condition do you get this?

@pfalcon
Copy link
Contributor

pfalcon commented May 3, 2017

@tbursztyka : This happens for BOARD=96b_carbon, was reported and confirmed with MicroPython Zephyr port. I now opened https://jira.zephyrproject.org/browse/ZEP-2105

@nashif nashif self-assigned this May 3, 2017
@nashif nashif merged commit e0a6435 into zephyrproject-rtos:master May 3, 2017
@nashif nashif removed the In progress For PRs: is work in progress and should not be merged yet. For issues: Is being worked on label May 3, 2017
@tbursztyka tbursztyka deleted the net_if_fix branch May 4, 2017 14:21
nagineni pushed a commit to nagineni/zephyr that referenced this pull request Nov 20, 2017
[General] Update toplevel README to describe make instead of jsrunner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants