commit | 35e5aa88655423c71f94914bfa8b7471776ef9f7 | [log] [tgz] |
---|---|---|
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | Mon Mar 13 11:54:37 2017 +0100 |
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Fri Mar 17 10:34:42 2017 +0200 |
tree | d96e4cfeef4963bb01d5084e55d427fc4971f57e | |
parent | c1ecd8c8907871e3527ecc746bb49fc25586a7f0 [diff] |
net/mgmt: Add a function to wait on a event synchronously Instead of creating a handler and a related callback structure on an event_mask: net_mgmt_event_wait() can be used to wait synchronously on such event_mask. The core mgmt part will seamlessly reuse the struct net_mgmt_event_callback so the whole internal notification mechanism is using the same code. Change-Id: I426d782c770e75e5222aa3c5b703172b1f1f2e5e Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>