batman-adv: Fix change mac address of soft iface.
authorDef <def@laposte.net>
Thu, 20 Sep 2012 12:56:13 +0000 (14:56 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Sun, 23 Sep 2012 21:12:48 +0000 (23:12 +0200)
commit40a3eb33e307616567f4b81792f405a7f3f0abee
tree2b64e21f3025c1ecb22293d713427dcd675cf9a8
parent2b018d57ff18e5405823e5cb59651a5b4d946d7b
batman-adv: Fix change mac address of soft iface.

Into function interface_set_mac_addr, the function tt_local_add was
invoked before updating dev->dev_addr. The new MAC address was not
tagged as NoPurge.

Signed-off-by: Def <def@laposte.net>
net/batman-adv/soft-interface.c