zephyr/subsys/net/lib/app
Erwin Rol a0fc5d8229 net: app: prevent setting semaphore limit to 0
When neither IPv4 nor IPv6 are selected the limit that is
passed to k_sem_init will end up being 0, which will trigger
the folowing assertion in k_sem_init;

__ASSERT(limit != 0, "limit cannot be zero");

Fixed by not passing count as initial and limit value but
only as initial value and use UINT_MAX as limit.

Signed-off-by: Erwin Rol <erwin@erwinrol.com>
2017-07-03 20:58:13 -04:00
..
client.c net: app: Create support for network application API 2017-06-30 06:13:09 -04:00
init.c net: app: prevent setting semaphore limit to 0 2017-07-03 20:58:13 -04:00
Kconfig net: app: Create support for network application API 2017-06-30 06:13:09 -04:00
Makefile net: app: Create support for network application API 2017-06-30 06:13:09 -04:00
net_app_private.h net: app: Create support for network application API 2017-06-30 06:13:09 -04:00
net_app.c net: app: Create support for network application API 2017-06-30 06:13:09 -04:00
server.c net: app: Create support for network application API 2017-06-30 06:13:09 -04:00