1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 02:48:26 +02:00

Prevent the ioctl from handling even unsupported ioctls

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8360 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2007-08-06 20:28:10 +00:00
parent a0de7bd64f
commit 17453f9ace

View File

@ -639,7 +639,7 @@ static int netdev_ioctl (struct net_device *dev, struct ifreq *rq, int cmd)
if(args[0]&(1<<25))phy_write(ioaddr,29,20,(phy_read(ioaddr,29,20)|0x0020)); /* port 3 */ if(args[0]&(1<<25))phy_write(ioaddr,29,20,(phy_read(ioaddr,29,20)|0x0020)); /* port 3 */
} }
return 0; return -EOPNOTSUPP;
} }
/** /**