[ALPS04757147] wlan : modify the build for wext_core gen3
[Detail] add the config for the function [solution] add the config for the function MTK-Commit-Id: 6d4755baf11bf7571921b9256a06ca3c093bd61b Change-Id: Iafa5f302add53549346cca526a24bfa87f6a0cb9 Signed-off-by: will cai <will.cai@mediatek.com> CR-Id: ALPS04757147 Feature: [Module]Wi-Fi Driver
This commit is contained in:
@@ -437,14 +437,19 @@ int dev_get_wireless_info(char *buffer, char **start, off_t offset, int length);
|
||||
|
||||
/* Second : functions that may be called by driver modules */
|
||||
|
||||
/* 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);
|
||||
/* 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);
|
||||
|
||||
#else
|
||||
static inline void wireless_nlevent_flush(void) {}
|
||||
static inline void wireless_send_event(struct net_device *dev, unsigned int cmd,
|
||||
union iwreq_data *wrqu, const char *extra){}
|
||||
|
||||
#endif
|
||||
|
||||
/* We may need a function to send a stream of events to user space.
|
||||
|
||||
Reference in New Issue
Block a user