aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/wext.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/wext.h')
-rw-r--r--include/net/wext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/wext.h b/include/net/wext.h
index e51f067fdb3a..aa192a670304 100644
--- a/include/net/wext.h
+++ b/include/net/wext.h
@@ -7,7 +7,7 @@
7struct net; 7struct net;
8 8
9#ifdef CONFIG_WEXT_CORE 9#ifdef CONFIG_WEXT_CORE
10int wext_handle_ioctl(struct net *net, struct iwreq *iwr, unsigned int cmd, 10int wext_handle_ioctl(struct net *net, unsigned int cmd,
11 void __user *arg); 11 void __user *arg);
12int compat_wext_handle_ioctl(struct net *net, unsigned int cmd, 12int compat_wext_handle_ioctl(struct net *net, unsigned int cmd,
13 unsigned long arg); 13 unsigned long arg);
@@ -15,7 +15,7 @@ int compat_wext_handle_ioctl(struct net *net, unsigned int cmd,
15struct iw_statistics *get_wireless_stats(struct net_device *dev); 15struct iw_statistics *get_wireless_stats(struct net_device *dev);
16int call_commit_handler(struct net_device *dev); 16int call_commit_handler(struct net_device *dev);
17#else 17#else
18static inline int wext_handle_ioctl(struct net *net, struct iwreq *iwr, unsigned int cmd, 18static inline int wext_handle_ioctl(struct net *net, unsigned int cmd,
19 void __user *arg) 19 void __user *arg)
20{ 20{
21 return -EINVAL; 21 return -EINVAL;