mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 21:00:37 +02:00
[packages] switch: warn if ndo_do_ioctl is not implemented in the Ethernet driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33506 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e7cfcd1946
commit
a485afe4d4
@ -269,6 +269,10 @@ static int robo_probe(char *devname)
|
|||||||
printk("No such device\n");
|
printk("No such device\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
if (!robo.dev->netdev_ops || !robo.dev->netdev_ops->ndo_do_ioctl) {
|
||||||
|
printk("ndo_do_ioctl not implemented in ethernet driver\n");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
robo.device = devname;
|
robo.device = devname;
|
||||||
for (i = 0; i < 5; i++)
|
for (i = 0; i < 5; i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user