diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-10-02 02:13:08 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-01-25 01:13:45 +0100 |
commit | b1b0c245067268043e0e832432f3d537a5cae33b (patch) | |
tree | 7ded461ec00dc15af031544a1c5e8bbb3586902d /include/net/wext.h | |
parent | kill dev_ifname32() (diff) | |
download | linux-b1b0c245067268043e0e832432f3d537a5cae33b.tar.xz linux-b1b0c245067268043e0e832432f3d537a5cae33b.zip |
lift handling of SIOCIW... out of dev_ioctl()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
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 @@ struct net; #ifdef CONFIG_WEXT_CORE -int wext_handle_ioctl(struct net *net, struct iwreq *iwr, unsigned int cmd, +int wext_handle_ioctl(struct net *net, unsigned int cmd, void __user *arg); int compat_wext_handle_ioctl(struct net *net, unsigned int cmd, unsigned long arg); @@ -15,7 +15,7 @@ int compat_wext_handle_ioctl(struct net *net, unsigned int cmd, struct iw_statistics *get_wireless_stats(struct net_device *dev); int call_commit_handler(struct net_device *dev); #else -static inline int wext_handle_ioctl(struct net *net, struct iwreq *iwr, unsigned int cmd, +static inline int wext_handle_ioctl(struct net *net, unsigned int cmd, void __user *arg) { return -EINVAL; |