aboutsummaryrefslogtreecommitdiff
path: root/iw.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2010-06-09 11:59:56 +0200
committerJohannes Berg <johannes@sipsolutions.net>2010-06-09 11:59:56 +0200
commitee374e4da32c6298813847f7bea03a743fabf799 (patch)
tree62a829e714549f3155facf6fa8e08280104d7f91 /iw.h
parent105aed5734777039d70c28fc506d371c7e0464c3 (diff)
downloadiw-ee374e4da32c6298813847f7bea03a743fabf799.tar.gz
improve connect vs. notification race behaviour
This doesn't fully fix it, but should fix it in the case there's only one application (iw) trying to connect.
Diffstat (limited to 'iw.h')
-rw-r--r--iw.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/iw.h b/iw.h
index d1608e8..c21f093 100644
--- a/iw.h
+++ b/iw.h
@@ -110,9 +110,10 @@ struct print_event_args {
__u32 listen_events(struct nl80211_state *state,
const int n_waits, const __u32 *waits);
-__u32 __listen_events(struct nl80211_state *state,
- const int n_waits, const __u32 *waits,
- struct print_event_args *args);
+int __prepare_listen_events(struct nl80211_state *state);
+__u32 __do_listen_events(struct nl80211_state *state,
+ const int n_waits, const __u32 *waits,
+ struct print_event_args *args);
int mac_addr_a2n(unsigned char *mac_addr, char *arg);