vlan: set the name of vlan devices earlier
authorNathan Hintz <nlhintz@hotmail.com>
Tue, 24 Sep 2013 18:21:02 +0000 (11:21 -0700)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 25 Sep 2013 06:24:15 +0000 (08:24 +0200)
commit6f34c02e517689faa5b04809b448891228a44355
treee8c48599be346764770ba13cd5f37c52d32226df
parent814e09499e12edaea658f9f5594fe9917c0ecde4
vlan: set the name of vlan devices earlier

Set the device name earlier so that the logging done inside of
'device_init_virtual' can print the name of the device being
initialized (instead of an empty string).

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
vlan.c