mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00: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
432c94a644
commit
40bebf1dd6
@ -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…
x
Reference in New Issue
Block a user