diff options
Diffstat (limited to 'include/net/wext.h')
-rw-r--r-- | include/net/wext.h | 4 |
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 @@ | |||
7 | struct net; | 7 | struct net; |
8 | 8 | ||
9 | #ifdef CONFIG_WEXT_CORE | 9 | #ifdef CONFIG_WEXT_CORE |
10 | int wext_handle_ioctl(struct net *net, struct iwreq *iwr, unsigned int cmd, | 10 | int wext_handle_ioctl(struct net *net, unsigned int cmd, |
11 | void __user *arg); | 11 | void __user *arg); |
12 | int compat_wext_handle_ioctl(struct net *net, unsigned int cmd, | 12 | int 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, | |||
15 | struct iw_statistics *get_wireless_stats(struct net_device *dev); | 15 | struct iw_statistics *get_wireless_stats(struct net_device *dev); |
16 | int call_commit_handler(struct net_device *dev); | 16 | int call_commit_handler(struct net_device *dev); |
17 | #else | 17 | #else |
18 | static inline int wext_handle_ioctl(struct net *net, struct iwreq *iwr, unsigned int cmd, | 18 | static 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; |