]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: don't compile the BLA switch if not requested
authorAntonio Quartulli <ordex@autistici.org>
Mon, 26 Nov 2012 00:27:29 +0000 (01:27 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Sat, 12 Jan 2013 10:58:22 +0000 (20:58 +1000)
commit02caec10319a2717c86d909916e51ac046716a52
treeb68eb55c1ce66c7638eba6390921fe01772f0b45
parenta8d42260475a14386ff7c5468d84ea3cebaca8c6
batman-adv: don't compile the BLA switch if not requested

When the Bridge Loop Avoidance component is not compiled-in, its boolean switch
should be not compiled as well. This patch surrounds the switch with a proper
ifdef.

This behaviour was introduced by 9fd6b0615b5499b270d39a92b8790e206cf75833
("batman-adv: add bridge loop avoidance compile option")

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Acked-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/soft-interface.c
net/batman-adv/types.h