summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linaro.org>2016-03-17 12:51:17 +0800
committerAlex Shi <alex.shi@linaro.org>2016-03-17 12:51:17 +0800
commit127f7fb4c452328fa24f4c29eb403a97c5f7ea8c (patch)
treef76942e04ec3ca226503c74b0c04130ffb7d4c4c /include/net
parentfa6e6c7406806f9d4119703e4c3ad661c25b99ee (diff)
parent6d0b88c88bf58bfd89ffbdaa97b03617fe8c6478 (diff)
Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android
Diffstat (limited to 'include/net')
-rw-r--r--include/net/iw_handler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/iw_handler.h b/include/net/iw_handler.h
index 8f81bbbc38fc..e0f4109e64c6 100644
--- a/include/net/iw_handler.h
+++ b/include/net/iw_handler.h
@@ -439,6 +439,12 @@ int dev_get_wireless_info(char *buffer, char **start, off_t offset, int length);
/* Send a single event to user space */
void wireless_send_event(struct net_device *dev, unsigned int cmd,
union iwreq_data *wrqu, const char *extra);
+#ifdef CONFIG_WEXT_CORE
+/* flush all previous wext events - if work is done from netdev notifiers */
+void wireless_nlevent_flush(void);
+#else
+static inline void wireless_nlevent_flush(void) {}
+#endif
/* We may need a function to send a stream of events to user space.
* More on that later... */