Staging: batman-adv: Introduce update_primary_addr to update mac address
authorMarek Lindner <lindner_marek@yahoo.de>
Sat, 18 Sep 2010 19:01:22 +0000 (21:01 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 23:29:51 +0000 (16:29 -0700)
commit037dafa8673dbe71c64be7d1021b85c6692a6f7d
treeb7283b9d727665943d8c441db3a7cbe1ea8c09e6
parent7e8158b341b2b043047b6f570c343fd9b0efd9c9
Staging: batman-adv: Introduce update_primary_addr to update mac address

set_primary_if is currently misused to update the mac address in vis
packets. This unneeded and introduces overhead due to other operations
which must be done when updating the primary interface.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/hard-interface.c