aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/hotplug.d
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-12-23 14:43:35 +0000
committerJohn Crispin <blogic@openwrt.org>2015-12-23 14:43:35 +0000
commit0b7a7ec4c73c149629d08902be4e71890d3049d6 (patch)
treeee1f7b1de0e0096f20561963f4708528b3ca1d57 /target/linux/ar71xx/base-files/etc/hotplug.d
parentf39c6fdd384122206079d2f69d42fcbbe66d4825 (diff)
downloadmaster-187ad058-0b7a7ec4c73c149629d08902be4e71890d3049d6.tar.gz
master-187ad058-0b7a7ec4c73c149629d08902be4e71890d3049d6.tar.bz2
master-187ad058-0b7a7ec4c73c149629d08902be4e71890d3049d6.zip
ar71xx: Add support for AirTight Networks C-55
This patch is to add support for the AirTight Networks C-55 Access Point Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47973 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/hotplug.d')
-rw-r--r--target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
index 9d3356447a..3b0229d3d5 100644
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
@@ -53,6 +53,10 @@ board=$(ar71xx_board_name)
case "$FIRMWARE" in
"soc_wmac.eeprom")
case $board in
+ c-55)
+ ath9k_eeprom_extract "art" 4096 2048
+ ath9k_patch_firmware_mac $(macaddr_add $(mtd_get_mac_binary art 0) +1)
+ ;;
mr18)
. /lib/upgrade/nand.sh
@@ -77,6 +81,10 @@ case "$FIRMWARE" in
"pci_wmac0.eeprom")
case $board in
+ c-55)
+ ath9k_eeprom_extract "art" 20480 2048
+ ath9k_patch_firmware_mac $(macaddr_add $(mtd_get_mac_binary art 0) +2)
+ ;;
mr18)
. /lib/upgrade/nand.sh