]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: batman-adv: Allow the MAC address to be set
authorAndrew Lunn <andrew@lunn.ch>
Sat, 2 Jan 2010 10:30:49 +0000 (11:30 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:36 +0000 (16:42 -0800)
commitb99eba55522a025587cd9a4e2c544e31340676e9
tree7bede70aef90823d6f7cf0a1947c7a55b868e86b
parent09b652ad92ce8389948a20606b66d81bbed52385
Staging: batman-adv: Allow the MAC address to be set

Some embedded devices have very limited sources of entropy for the
random number generator. It has been observed that the random MAC
address on the interface bat0 is not always random. When testing with
a collection of identical hardware, sometimes the bat0 device the same
MAC address on multiple devices, causing mayhem. This patch allows the
MAC address to be set by the user.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/soft-interface.c
drivers/staging/batman-adv/translation-table.c
drivers/staging/batman-adv/translation-table.h