mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 08:54:04 +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:
parent
d5b39d59c0
commit
e3101f5c1d
@ -307,6 +307,8 @@ int vlynq_device_enable(struct vlynq_device *dev)
|
|||||||
if (vlynq_linked(dev))
|
if (vlynq_linked(dev))
|
||||||
return vlynq_setup_irq(dev);
|
return vlynq_setup_irq(dev);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
||||||
void vlynq_device_disable(struct vlynq_device *dev)
|
void vlynq_device_disable(struct vlynq_device *dev)
|
||||||
|
Loading…
Reference in New Issue
Block a user