nl80211: turn nl80211_wait() into variadic function
authorJo-Philipp Wich <jo@mein.io>
Wed, 17 Jan 2018 12:27:03 +0000 (13:27 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 17 Jan 2018 12:27:03 +0000 (13:27 +0100)
commit75c572074f272f0b983d888f7dd23ee59719c6b0
treea65fc406bbfdff7f62bdc05631d345fd28ab49c3
parent5a5e21b158ae48b86339d337823a01a0f132b09c
nl80211: turn nl80211_wait() into variadic function

Extend the nl82011_wait() function to accept multiple command numbers.

This is useful to wait for different possible results, e.g. either
NL80211_CMD_NEW_SCAN_RESULTS or NL80211_CMD_SCAN_ABORTED.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
iwinfo_nl80211.c
iwinfo_nl80211.h