mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
lift handling of SIOCIW... out of dev_ioctl()
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
4cf808e7ac
commit
b1b0c24506
4 changed files with 12 additions and 25 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue