batman-adv: Move deinitialization of soft-interface to destructor
authorSven Eckelmann <sven@narfation.org>
Mon, 11 Feb 2013 09:10:23 +0000 (17:10 +0800)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 27 Mar 2013 09:27:32 +0000 (10:27 +0100)
commitb3246020e27ecc7c50cc77535936987d6eb6c869
treec5cfaead0cd4d195d026c5f0f9c83ce0081e1554
parent37130293fd50918c5498bafafd18735a24229cb9
batman-adv: Move deinitialization of soft-interface to destructor

The deinitialization of the soft-interface created in ndo_init/constructor
should be done in the destructor and not directly before calling
unregister_netdevice

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Acked-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/soft-interface.c