summaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/base-files/etc')
-rw-r--r--target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index e2dfc1631..ad5652a7f 100644
--- a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -24,9 +24,11 @@ rt2x00_eeprom_extract() {
[ -e /lib/firmware/$FIRMWARE ] && exit 0
+. /lib/lantiq.sh
+
case "$FIRMWARE" in
"RT2860.eeprom" )
- local board=$(grep ^machine /proc/cpuinfo | sed "s/machine.*: \(.*\) - .*/\1/g")
+ local board=$(lantiq_board_name)
case $board in
ARV7525PW)
rt2x00_eeprom_extract "board_config" 1040 272