ath79: fix whitespaces in 10_fix_wifi_mac
This converts leading whitespaces to tabs and removes a double newline at the end of the file. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
556ff09875
commit
44da2e0344
1 changed files with 7 additions and 8 deletions
|
@ -35,14 +35,13 @@ case "$board" in
|
||||||
k2t_get_mac "lan_mac" > /sys${DEVPATH}/macaddress
|
k2t_get_mac "lan_mac" > /sys${DEVPATH}/macaddress
|
||||||
;;
|
;;
|
||||||
trendnet,tew-823dru)
|
trendnet,tew-823dru)
|
||||||
# set the 2.4G interface mac address to LAN MAC
|
# set the 2.4G interface mac address to LAN MAC
|
||||||
[ "$PHYNBR" -eq 1 ] && \
|
[ "$PHYNBR" -eq 1 ] && \
|
||||||
mtd_get_mac_text mac 4 > /sys${DEVPATH}/macaddress
|
mtd_get_mac_text mac 4 > /sys${DEVPATH}/macaddress
|
||||||
# set the 5G interface mac address to WAN MAC + 1
|
# set the 5G interface mac address to WAN MAC + 1
|
||||||
[ "$PHYNBR" -eq 0 ] && \
|
[ "$PHYNBR" -eq 0 ] && \
|
||||||
macaddr_add "$(mtd_get_mac_text mac 0x18)" 1 > /sys${DEVPATH}/macaddress
|
macaddr_add "$(mtd_get_mac_text mac 0x18)" 1 > /sys${DEVPATH}/macaddress
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue