mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
Prevent the ioctl from handling even unsupported ioctls
SVN-Revision: 8360
This commit is contained in:
parent
24c25b071f
commit
9882253827
@ -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 */
|
||||
|
||||
}
|
||||
return 0;
|
||||
return -EOPNOTSUPP;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user