X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=kernel%2Finclude%2Fnet%2Fiw_handler.h;h=e0f4109e64c6fca9ba87d768c2c7b1220a6557f4;hb=e09b41010ba33a20a87472ee821fa407a5b8da36;hp=8f81bbbc38fc939070a5761e3af90da62faf8d68;hpb=f93b97fd65072de626c074dbe099a1fff05ce060;p=kvmfornfv.git diff --git a/kernel/include/net/iw_handler.h b/kernel/include/net/iw_handler.h index 8f81bbbc3..e0f4109e6 100644 --- a/kernel/include/net/iw_handler.h +++ b/kernel/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... */