batman-adv: create helper function to get AP isolation status
authorAntonio Quartulli <antonio@open-mesh.com>
Sat, 16 Nov 2013 11:03:51 +0000 (12:03 +0100)
committerAntonio Quartulli <antonio@meshcoding.com>
Wed, 8 Jan 2014 19:49:45 +0000 (20:49 +0100)
commiteceb22ae0bdcb49daff9989f91fb3388fa501a69
treec040a5350d949ecbde205968086be5311ea621db
parent2d2fcc2a3ff79de1fa3fba10f88c324d769392af
batman-adv: create helper function to get AP isolation status

The AP isolation status may be evaluated in different spots.
Create an helper function to avoid code duplication.

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
net/batman-adv/main.c
net/batman-adv/main.h
net/batman-adv/translation-table.c