[NET]: Add a dev_ioctl() fallback to sock_ioctl()
[linux-2.6.git] / net / wanrouter / af_wanpipe.c
index 67948bf..7a43ae4 100644 (file)
@@ -1839,7 +1839,7 @@ static int wanpipe_ioctl(struct socket *sock, unsigned int cmd, unsigned long ar
 #endif
 
                default:
-                       return dev_ioctl(cmd,(void __user *) arg);
+                       return -ENOIOCTLCMD;
        }
        /*NOTREACHED*/
 }