ath79: fix whitespace errors from adding D-Link DIR-842 C3
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 9 Aug 2019 12:19:51 +0000 (14:19 +0200)
committerDavid Bauer <mail@david-bauer.net>
Fri, 9 Aug 2019 15:08:46 +0000 (17:08 +0200)
We completely overlooked whitespace errors when reviewing
796ad2f7ef6f ("ath79: add support for D-Link DIR-842 C3").

Fix them and and also fix Makefile indent for C1/C2.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ath79/base-files/etc/board.d/02_network
target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
target/linux/ath79/image/generic.mk

index 466a0ee684f73cfc584c69764870f43c1bd34f3c..99b9d421f4f0a04a429e6bc8c7c017bb104f7033 100755 (executable)
@@ -131,7 +131,7 @@ ath79_setup_interfaces()
        dlink,dir-835-a1|\
        dlink,dir-842-c1|\
        dlink,dir-842-c2|\
-        dlink,dir-842-c3|\
+       dlink,dir-842-c3|\
        dlink,dir-859-a1|\
        engenius,epg5000|\
        tplink,archer-c2-v3|\
@@ -325,7 +325,7 @@ ath79_setup_macs()
                ;;
        dlink,dir-842-c1|\
        dlink,dir-842-c2|\
-        dlink,dir-842-c3|\
+       dlink,dir-842-c3|\
        dlink,dir-859-a1|\
        nec,wg1200cr|\
        wd,mynet-n750)
index 62d53248bcbcfbbba41b830de068c7eedf27389d..ec597dd1d4322d8dc8bc88b08bab08103ab746f3 100644 (file)
@@ -107,7 +107,7 @@ case "$FIRMWARE" in
                ;;
        dlink,dir-842-c1|\
        dlink,dir-842-c2|\
-        dlink,dir-842-c3|\
+       dlink,dir-842-c3|\
        dlink,dir-859-a1|\
        nec,wg1200cr|\
        wd,mynet-n750)
index 6f50a47271633483abb51ac4cbd290641eeb1b18..ebf5d6d390aee0e6c2877837e5200a824a8908b9 100644 (file)
@@ -193,7 +193,7 @@ case "$FIRMWARE" in
        case $board in
        dlink,dir-842-c1|\
        dlink,dir-842-c2|\
-        dlink,dir-842-c3|\
+       dlink,dir-842-c3|\
        nec,wg1200cr)
                ath10kcal_extract "art" 20480 12064
                ath10kcal_patch_mac_crc $(mtd_get_mac_ascii devdata wlan5mac)
index 149e4ed30034e812b7d29248ac525e077cbb776d..1aa82a3a4a53c5fb6395863eee631a1ca5229c2c 100644 (file)
@@ -425,23 +425,23 @@ define Device/dlink_dir-842-c
 endef
 
 define Device/dlink_dir-842-c1
-       $(Device/dlink_dir-842-c)
-       DEVICE_VARIANT := C1
-       DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
+  $(Device/dlink_dir-842-c)
+  DEVICE_VARIANT := C1
+  DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
 endef
 TARGET_DEVICES += dlink_dir-842-c1
 
 define Device/dlink_dir-842-c2
-       $(Device/dlink_dir-842-c)
-       DEVICE_VARIANT := C2
-       DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9888-ct
+  $(Device/dlink_dir-842-c)
+  DEVICE_VARIANT := C2
+  DEVICE_PACKAGES := kmod-usb2 kmod-ath10k-ct ath10k-firmware-qca9888-ct
 endef
 TARGET_DEVICES += dlink_dir-842-c2
 
 define Device/dlink_dir-842-c3
-       $(Device/dlink_dir-842-c)
-       DEVICE_VARIANT := C3
-       DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
+  $(Device/dlink_dir-842-c)
+  DEVICE_VARIANT := C3
+  DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
 endef
 TARGET_DEVICES += dlink_dir-842-c3