Skip to content
Commit 6fd147b6 authored by James Harris's avatar James Harris Committed by Anas Nashif
Browse files

net: config: ensure counter k_sem init'd before reset



check_interface resets the counter semaphore, but
net_config_init_by_iface first calls check_interface, then inits
the semaphore.

Initialize the semaphore up front to allow the k_sem_reset call
to work properly.

Signed-off-by: default avatarJames Harris <james.harris@intel.com>
parent 26979487
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment