Staging: batman-adv: fix own mac address detection
authorMarek Lindner <lindner_marek@yahoo.de>
Mon, 9 Aug 2010 21:56:42 +0000 (23:56 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Aug 2010 01:15:37 +0000 (18:15 -0700)
commit51e21ae3d79e608022271f91166c84bd0e9fb8b8
tree806f4421a649898a4eb9bcec3f7f65f5b003e19d
parentb7a23bce7bc9cac85eab1b958e922b2c472ab8fd
Staging: batman-adv: fix own mac address detection

Earlier batman-adv versions would only create a batman_if struct after
a corresponding interface had been activated by a user. Now each
existing system interface has a batman_if struct and has to be checked
by verifying the IF_ACTIVE flag.

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/main.c