Skip to content
Snippets Groups Projects
Commit 02c7503f authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-mesh-batman-adv: remove MTU workaround for VLAN-on-WLAN

We don't support VLANs on 11s interfaces, so the workaround can be dropped
with the IBSS support.
parent 066158a2
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
if [ "$FIXED_MTU" -eq 0 ]; then
# In case on VLAN on IBSS, first set MTU of the underlying interface
for lower in /sys/class/net/"$IFNAME"/lower_*/wireless; do
lower="${lower%%\/wireless}"
lower="${lower##*\/lower_}"
ip link set dev "$lower" mtu 1536
break
done
ip link set dev "$IFNAME" mtu 1532
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment