summaryrefslogtreecommitdiff
path: root/net/batman-adv/bat_v_elp.c
diff options
context:
space:
mode:
authorMarek Lindner <mareklindner@neomailbox.ch>2016-09-30 16:21:04 +0300
committerSimon Wunderlich <sw@simonwunderlich.de>2016-11-08 21:02:38 +0300
commit5ed4a460a1d359e1e9e7f54f6c78dfa9d1586b4b (patch)
tree9b98f285285ac6a1292fc7296658cc4785a84bd1 /net/batman-adv/bat_v_elp.c
parent10b1bbb46c6c8e571458a9a8913514dbebbaf20c (diff)
downloadlinux-5ed4a460a1d359e1e9e7f54f6c78dfa9d1586b4b.tar.xz
batman-adv: additional checks for virtual interfaces on top of WiFi
In a few situations batman-adv tries to determine whether a given interface is a WiFi interface to enable specific WiFi optimizations. If the interface batman-adv has been configured with is a virtual interface (e.g. VLAN) it would not be properly detected as WiFi interface and thus not benefit from the special WiFi treatment. This patch changes that by peeking under the hood whenever a virtual interface is in play. Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> [sven.eckelmann@open-mesh.com: integrate in wifi_flags caching, retrieve namespace of link interface] Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/bat_v_elp.c')
0 files changed, 0 insertions, 0 deletions