From: Sven Eckelmann Date: Mon, 11 Feb 2013 09:10:22 +0000 (+0800) Subject: batman-adv: Move soft-interface initialization to ndo_init X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~281^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37130293fd50918c5498bafafd18735a24229cb9;p=pandora-kernel.git batman-adv: Move soft-interface initialization to ndo_init The initialization of an net_device object should be done in the init/constructor function and not from the outside after the register_netdevice was done to avoid race conditions. Signed-off-by: Sven Eckelmann Signed-off-by: Marek Lindner Acked-by: Antonio Quartulli Signed-off-by: Antonio Quartulli --- Reading git-diff-tree failed