From: Thadeu Lima de Souza Cascardo Date: Thu, 2 Jun 2011 20:28:37 +0000 (-0300) Subject: mac80211: call dev_alloc_name before copying name to sdata X-Git-Tag: v3.0-rc3~13^2~15^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59e7e7078d6c2c6294caf454c6e3695f9d3e46a2;p=pandora-kernel.git mac80211: call dev_alloc_name before copying name to sdata This partially reverts 1c5cae815d19ffe02bdfda1260949ef2b1806171, because the netdev name is copied into sdata->name, which is used for debugging messages, for example. Otherwise, we get messages like this: wlan%d: authenticated Signed-off-by: Thadeu Lima de Souza Cascardo Cc: Jiri Pirko Cc: David S. Miller Cc: Johannes Berg Cc: "John W. Linville" Signed-off-by: John W. Linville --- Reading git-diff-tree failed