From 2da431e5839019bf83da2c83559430ac237bd537 Mon Sep 17 00:00:00 2001 From: Chuanhong Guo Date: Thu, 2 Aug 2018 15:14:10 +0800 Subject: ath79: remove quotes for boardname in scripts Quotes are not required in case statements. Signed-off-by: Chuanhong Guo --- .../etc/hotplug.d/firmware/10-ath9k-eeprom | 26 +++++++++++----------- .../etc/hotplug.d/firmware/11-ath10k-caldata | 15 ++++++------- 2 files changed, 20 insertions(+), 21 deletions(-) (limited to 'target/linux/ath79/base-files/etc/hotplug.d') diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom index 2dac7768c1..b55ae0dbb3 100644 --- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom +++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom @@ -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 ;; *) diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index 562237f191..0d58ea0dd4 100644 --- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -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 ;; -- cgit v1.2.3