forked from Ivasoft/openwrt
ath79: remove quotes for boardname in scripts
Quotes are not required in case statements. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
This commit is contained in:
committed by
Mathias Kresin
parent
f9065e44a6
commit
2da431e583
@@ -47,23 +47,23 @@ board=$(board_name)
|
||||
case "$FIRMWARE" in
|
||||
"ath9k-eeprom-pci-0000:00:00.0.bin")
|
||||
case $board in
|
||||
"avm,fritz300e")
|
||||
avm,fritz300e)
|
||||
ath9k_eeprom_extract_reverse "urloader" 5441 1088
|
||||
;;
|
||||
"ocedo,raccoon"|\
|
||||
"tplink,tl-wdr3600"|\
|
||||
"tplink,tl-wdr4300")
|
||||
ocedo,raccoon|\
|
||||
tplink,tl-wdr3600|\
|
||||
tplink,tl-wdr4300)
|
||||
ath9k_eeprom_extract "art" 20480 1088
|
||||
;;
|
||||
"netgear,wnr612-v2"|\
|
||||
"on,n150r"|\
|
||||
"pcs,cap324"|\
|
||||
"tplink,tl-mr3220-v1"|\
|
||||
"tplink,tl-mr3420-v1"|\
|
||||
"tplink,tl-wr2543-v1"|\
|
||||
"tplink,tl-wr740n-v2"|\
|
||||
"tplink,tl-wr841-v7"|\
|
||||
"ubnt,unifi")
|
||||
netgear,wnr612-v2|\
|
||||
on,n150r|\
|
||||
pcs,cap324|\
|
||||
tplink,tl-mr3220-v1|\
|
||||
tplink,tl-mr3420-v1|\
|
||||
tplink,tl-wr2543-v1|\
|
||||
tplink,tl-wr740n-v2|\
|
||||
tplink,tl-wr841-v7|\
|
||||
ubnt,unifi)
|
||||
ath9k_eeprom_extract "art" 4096 2048
|
||||
;;
|
||||
*)
|
||||
|
||||
@@ -87,22 +87,22 @@ board=$(board_name)
|
||||
case "$FIRMWARE" in
|
||||
"ath10k/cal-pci-0000:00:00.0.bin")
|
||||
case $board in
|
||||
"openmesh,om5p-ac-v2")
|
||||
openmesh,om5p-ac-v2)
|
||||
ath10kcal_extract "ART" 20480 2116
|
||||
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
|
||||
;;
|
||||
"tplink,re450-v2")
|
||||
tplink,re450-v2)
|
||||
ath10kcal_extract "art" 20480 2116
|
||||
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +1)
|
||||
;;
|
||||
"tplink,tl-archer-c7-v2")
|
||||
tplink,tl-archer-c7-v2)
|
||||
ath10kcal_extract "art" 20480 2116
|
||||
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -1)
|
||||
;;
|
||||
"ubnt,unifiac-lite"|\
|
||||
"ubnt,unifiac-mesh"|\
|
||||
"ubnt,unifiac-mesh-pro"|\
|
||||
"ubnt,unifiac-pro")
|
||||
ubnt,unifiac-lite|\
|
||||
ubnt,unifiac-mesh|\
|
||||
ubnt,unifiac-mesh-pro|\
|
||||
ubnt,unifiac-pro)
|
||||
ath10kcal_extract "EEPROM" 20480 2116
|
||||
;;
|
||||
esac
|
||||
@@ -112,7 +112,6 @@ case "$FIRMWARE" in
|
||||
phicomm,k2t)
|
||||
ath10kcal_extract "art" 20480 12064
|
||||
ath10kcal_patch_mac_crc $(k2t_get_mac "5g_mac")
|
||||
|
||||
ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \
|
||||
/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user