summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorRadek Dostál <rd@radekdostal.com>2016-11-20 23:18:53 +0100
committerJo-Philipp Wich <jo@mein.io>2016-12-22 14:50:05 +0100
commit236fc232bb7a3ff49d62b266c4eda02c4c0c9a6c (patch)
treea151cf63deced1e0aecab2762b2e4187329afe11 /target/linux/ar71xx
parent5515edae9f24be2a8c065bca7eb0de264ee4ed22 (diff)
downloadmtk-20170518-236fc232bb7a3ff49d62b266c4eda02c4c0c9a6c.zip
mtk-20170518-236fc232bb7a3ff49d62b266c4eda02c4c0c9a6c.tar.gz
mtk-20170518-236fc232bb7a3ff49d62b266c4eda02c4c0c9a6c.tar.bz2
ar71xx: sort items in 11-ath10k-caldata alphabetically
Requested-by: Mathias Kresin <dev@kresin.me> Signed-off-by: Radek Dostál <rd@radekdostal.com>
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata42
1 files changed, 21 insertions, 21 deletions
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index 97875bd..b458ca3 100644
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -58,38 +58,38 @@ case "$FIRMWARE" in
ath10kcal_extract "radiocfg" 20480 2116
ath10kcal_patch_mac $(mtd_get_mac_ascii bdcfg wlanmac_a)
;;
- dw33d)
- ath10kcal_extract "art" 20480 2116
- ath10kcal_patch_mac $(mtd_get_mac_binary art 18)
- ;;
- mc-mac1200r)
- ath10kcal_extract "art" 20480 2116
- ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -1)
- ;;
- tl-wdr6500-v2)
- ath10kcal_extract "art" 20480 2116
- ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -2)
- ;;
- r6100)
- ath10kcal_extract "caldata" 20480 2116
- ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) +2)
- ;;
dir-869-a1 | \
qihoo-c301)
ath10kcal_extract "radiocfg" 20480 2116
ath10kcal_patch_mac $(mtd_get_mac_ascii devdata wlan5mac)
;;
- esr1750 | \
- epg5000)
+ dw33d)
+ ath10kcal_extract "art" 20480 2116
+ ath10kcal_patch_mac $(mtd_get_mac_binary art 18)
+ ;;
+ epg5000 | \
+ esr1750)
ath10kcal_extract "caldata" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +1)
;;
+ mc-mac1200r)
+ ath10kcal_extract "art" 20480 2116
+ ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -1)
+ ;;
mr1750 | \
mr1750v2 | \
om5p-acv2)
ath10kcal_extract "ART" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
;;
+ r6100)
+ ath10kcal_extract "caldata" 20480 2116
+ ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) +2)
+ ;;
+ tl-wdr6500-v2)
+ ath10kcal_extract "art" 20480 2116
+ ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -2)
+ ;;
tl-wpa8630)
ath10kcal_extract "art" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +1)
@@ -112,13 +112,13 @@ case "$FIRMWARE" in
ath10kcal_extract "RFdata" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -2)
;;
- rb-911g-5hpacd)
- ath10kcal_from_file "/sys/firmware/routerboot/ext_wlan_data" 20480 2116
- ;;
om5p-ac)
ath10kcal_extract "ART" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
;;
+ rb-911g-5hpacd)
+ ath10kcal_from_file "/sys/firmware/routerboot/ext_wlan_data" 20480 2116
+ ;;
esac
;;
*)