projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
device: fall back to simple interface status check if not provided by the device...
[project/netifd.git]
/
device.c
diff --git
a/device.c
b/device.c
index
7d606c6
..
b16f156
100644
(file)
--- a/
device.c
+++ b/
device.c
@@
-262,7
+262,7
@@
void device_release(struct device_user *dep)
int device_check_state(struct device *dev)
{
if (!dev->type->check_state)
- return
0
;
+ return
simple_device_type.check_state(dev)
;
return dev->type->check_state(dev);
}