[PPPoX/E]: return ENOTTY on unknown ioctl requests
authorFlorian Zumbiehl <florz@florz.de>
Tue, 31 Jul 2007 00:48:23 +0000 (17:48 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 31 Jul 2007 09:28:22 +0000 (02:28 -0700)
commit86c1dcfc96a778433ebc6e9b1d3e80a126cb80f2
treead6f69355b76974d2a80ab56313225aa557eb459
parentc61a7d10efbd187ab9bb54871238ebd1dfcacd44
[PPPoX/E]: return ENOTTY on unknown ioctl requests

here another patch for the PPPoX/E code that makes sure that ENOTTY is
returned for unknown ioctl requests rather than 0 (and removes another
unneeded initializer which I didn't bother creating a separate patch for).

Signed-off-by: Florian Zumbiehl <florz@florz.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pppoe.c
drivers/net/pppox.c