mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-16 03:41:00 +00:00
Return -ENODEV, when device is absent. This should fix lockups on boot.
SVN-Revision: 7031
This commit is contained in:
parent
639fe9fd58
commit
93bf001cc1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user