summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh3
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom3
2 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 0a13ddb8c..f8dac497d 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -99,6 +99,9 @@ get_status_led() {
wr512-3gn)
status_led="wr512:green:wps"
;;
+ xdxrn502j)
+ status_led="xdxrn502j:green:power"
+ ;;
esac
}
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index 148fda20c..bc2320857 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -70,7 +70,8 @@ case "$FIRMWARE" in
wl-351 | \
wli-tx4-ag300n | \
wr512-3gn | \
- wr6202)
+ wr6202 | \
+ xdxrn502j)
rt2x00_eeprom_extract "factory" 0 272
;;