diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-10-01 20:13:08 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-01-24 19:13:45 -0500 |
commit | b1b0c245067268043e0e832432f3d537a5cae33b (patch) | |
tree | 7ded461ec00dc15af031544a1c5e8bbb3586902d /net/socket.c | |
parent | 4cf808e7ac32120b3db95d824acd52f586bfdd1d (diff) | |
download | lwn-b1b0c245067268043e0e832432f3d537a5cae33b.tar.gz lwn-b1b0c245067268043e0e832432f3d537a5cae33b.zip |
lift handling of SIOCIW... out of dev_ioctl()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/socket.c')
-rw-r--r-- | net/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c index 026271ff2853..1ad02d9edbef 100644 --- a/net/socket.c +++ b/net/socket.c @@ -1005,7 +1005,7 @@ static long sock_ioctl(struct file *file, unsigned cmd, unsigned long arg) } else #ifdef CONFIG_WEXT_CORE if (cmd >= SIOCIWFIRST && cmd <= SIOCIWLAST) { - err = dev_ioctl(net, cmd, argp); + err = wext_handle_ioctl(net, cmd, argp); } else #endif switch (cmd) { |