Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d503563 authored by Ursula Braun's avatar Ursula Braun Committed by David S. Miller
Browse files

netiucv: reinsert dev_alloc_name for device naming



Invocation of dev_alloc_name() is re-inserted, because the created
net_device name is used to create the device name for the iucv bus.
This device is created before the register_netdev call.

Signed-off-by: default avatarUrsula Braun <ursula.braun@de.ibm.com>
Signed-off-by: default avatarFrank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7c01a8e5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1994,6 +1994,8 @@ static struct net_device *netiucv_init_netdevice(char *username)
			   netiucv_setup_netdevice);
	if (!dev)
		return NULL;
	if (dev_alloc_name(dev, dev->name) < 0)
		goto out_netdev;

	privptr = netdev_priv(dev);
	privptr->fsm = init_fsm("netiucvdev", dev_state_names,