ath79: apply alphabetical sorting to entries in 10_fix_wifi_mac
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
244745d7fc
commit
8c36fd3105
1 changed files with 6 additions and 6 deletions
|
@ -17,18 +17,18 @@ case "$board" in
|
||||||
adtran,bsap1840)
|
adtran,bsap1840)
|
||||||
macaddr_add "$(mtd_get_mac_binary 'Board data' 2)" $(($PHYNBR * 8 + 1)) > /sys${DEVPATH}/macaddress
|
macaddr_add "$(mtd_get_mac_binary 'Board data' 2)" $(($PHYNBR * 8 + 1)) > /sys${DEVPATH}/macaddress
|
||||||
;;
|
;;
|
||||||
iodata,wn-ag300dgr)
|
|
||||||
# There is no eeprom data for 5 GHz wlan in "art" partition
|
|
||||||
# which would allow to patch the macaddress
|
|
||||||
[ "$PHYNBR" -eq 1 ] && \
|
|
||||||
macaddr_add "$(mtd_get_mac_ascii u-boot-env ethaddr)" 1 > /sys${DEVPATH}/macaddress
|
|
||||||
;;
|
|
||||||
iodata,wn-ac1600dgr)
|
iodata,wn-ac1600dgr)
|
||||||
# There is no eeprom data for 5 GHz wlan in "art" partition
|
# There is no eeprom data for 5 GHz wlan in "art" partition
|
||||||
# which would allow to patch the macaddress
|
# which would allow to patch the macaddress
|
||||||
[ "$PHYNBR" -eq 0 ] && \
|
[ "$PHYNBR" -eq 0 ] && \
|
||||||
macaddr_add "$(mtd_get_mac_ascii u-boot-env ethaddr)" 1 > /sys${DEVPATH}/macaddress
|
macaddr_add "$(mtd_get_mac_ascii u-boot-env ethaddr)" 1 > /sys${DEVPATH}/macaddress
|
||||||
;;
|
;;
|
||||||
|
iodata,wn-ag300dgr)
|
||||||
|
# There is no eeprom data for 5 GHz wlan in "art" partition
|
||||||
|
# which would allow to patch the macaddress
|
||||||
|
[ "$PHYNBR" -eq 1 ] && \
|
||||||
|
macaddr_add "$(mtd_get_mac_ascii u-boot-env ethaddr)" 1 > /sys${DEVPATH}/macaddress
|
||||||
|
;;
|
||||||
phicomm,k2t)
|
phicomm,k2t)
|
||||||
# The K2T factory firmware does use LAN mac address as the 2.4G wifi mac address
|
# The K2T factory firmware does use LAN mac address as the 2.4G wifi mac address
|
||||||
[ "$PHYNBR" -eq 1 ] && \
|
[ "$PHYNBR" -eq 1 ] && \
|
||||||
|
|
Loading…
Reference in a new issue