1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 02:48:37 +02:00

Return -ENODEV, when device is absent. This should fix lockups on boot.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7031 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
ejka 2007-04-22 05:27:28 +00:00
parent d5b39d59c0
commit e3101f5c1d

View File

@ -307,6 +307,8 @@ int vlynq_device_enable(struct vlynq_device *dev)
if (vlynq_linked(dev))
return vlynq_setup_irq(dev);
}
return -ENODEV;
}
void vlynq_device_disable(struct vlynq_device *dev)