[regression] net: call dev_alloc_name from register_netdevice

Alexey Fisher <[email protected]>
Newsgroups org.kernel.vger.kernel-testers
Message-ID <1307518918.26284.2.camel@zwerg>
Hallo,

i have small regression after patch:
commit 1c5cae815d19ffe02bdfda1260949ef2b1806171
Author: Jiri Pirko <[email protected]>
Date:   Sat Apr 30 01:21:32 2011 +0000

    net: call dev_alloc_name from register_netdevice
....

device names are broken.
Here is dmesg before patch:
[ 59.181464] wlan0: authenticate with 00:1c:10:xx:xx:xx (try 1)
[ 59.185954] wlan0: authenticated
[ 59.186027] wlan0: associate with 00:1c:10:xx:xx:xx (try 1)
[ 59.188679] wlan0: RX AssocResp from 00:1c:10:xx:xx:xx (capab=0x11
status=0 aid=2)

And dmesg after patch:
[ 76.046587] wlan%d: authenticate with 00:1c:10:xx:xx:xx (try 1)
[ 76.048600] wlan%d: authenticated
[ 76.048647] wlan%d: associate with 00:1c:10:xx:xx:xx (try 1)
[ 76.051281] wlan%d: RX AssocResp from 00:1c:10:xx:xx:xx (capab=0x11
status=0 aid=2)
[ 76.051288] wlan%d: associated
-- 
Regards,
        Alexey
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.