summaryrefslogtreecommitdiff
path: root/include/net/iw_handler.h
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linaro.org>2016-03-17 12:51:14 +0800
committerAlex Shi <alex.shi@linaro.org>2016-03-17 12:51:14 +0800
commit6d0b88c88bf58bfd89ffbdaa97b03617fe8c6478 (patch)
tree706c149c0f0d6865d14e6b18058826f9dfd49f24 /include/net/iw_handler.h
parent258181e60ef13001b0ae05cb58079fd79ed86a46 (diff)
parent0d1912303e54ed1b2a371be0bba51c384dd57326 (diff)
Merge tag 'v4.4.6' into linux-linaro-lsk-v4.4
This is the 4.4.6 stable release
Diffstat (limited to 'include/net/iw_handler.h')
-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... */