apm821xx: convert to device-tree board detection
[openwrt/openwrt.git] / target / linux / apm821xx / base-files / etc / hotplug.d / firmware / 10-ath9k-eeprom
index 4a7e1c0b19ac946dade1664942c5539f3677f1da..7a13a0afa86569f11d21c32b340ef422dd7b27c2 100644 (file)
@@ -52,7 +52,7 @@ board=$(board_name)
 case "$FIRMWARE" in
 "pci_wmac0.eeprom")
        case $board in
-       wndr4700)
+       netgear,wndr4700)
                . /lib/upgrade/nand.sh
 
                if [ -n "$(nand_find_volume ubi0 caldata)" ]; then
@@ -70,7 +70,7 @@ case "$FIRMWARE" in
 
 "pci_wmac1.eeprom")
        case $board in
-       wndr4700)
+       netgear,wndr4700)
                . /lib/upgrade/nand.sh
 
                if [ -n "$(nand_find_volume ubi0 caldata)" ]; then