git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netdev: Pass class structure, instead of type, to "create" function.
[sliver-openvswitch.git]
/
lib
/
netdev.c
diff --git
a/lib/netdev.c
b/lib/netdev.c
index
d516ff2
..
6d997e0
100644
(file)
--- a/
lib/netdev.c
+++ b/
lib/netdev.c
@@
-276,7
+276,7
@@
create_device(struct netdev_options *options, struct netdev_dev **netdev_devp)
return EAFNOSUPPORT;
}
- return netdev_class->create(
options->name, options->typ
e, options->args,
+ return netdev_class->create(
netdev_class, options->nam
e, options->args,
netdev_devp);
}