|
@@ -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 */
|
|
/* Send a single event to user space */
|
|
void wireless_send_event(struct net_device *dev, unsigned int cmd,
|
|
void wireless_send_event(struct net_device *dev, unsigned int cmd,
|
|
union iwreq_data *wrqu, const char *extra);
|
|
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.
|
|
/* We may need a function to send a stream of events to user space.
|
|
* More on that later... */
|
|
* More on that later... */
|