diff mbox

[OpenWrt-Devel,netifd,3/7] macvlan: Use macvlan as device type name

Message ID 1474636103-25093-3-git-send-email-dedeckeh@gmail.com
State Changes Requested
Delegated to: John Crispin
Headers show

Commit Message

Hans Dedecker Sept. 23, 2016, 1:08 p.m. UTC
Fixes creation of macvlan devices by UCI due to device handlers rework

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
---
 macvlan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/macvlan.c b/macvlan.c
index 01a48cd..021d394 100644
--- a/macvlan.c
+++ b/macvlan.c
@@ -254,7 +254,7 @@  macvlan_create(const char *name, struct device_type *devtype,
 }
 
 static struct device_type macvlan_device_type = {
-	.name = "MAC VLAN",
+	.name = "macvlan",
 	.config_params = &macvlan_attr_list,
 	.create = macvlan_create,
 	.config_init = macvlan_config_init,