ramips: rt305x: add support for the Petatel PSR-680W Wireless CDMA Router
[openwrt/openwrt.git] / target / linux / ramips / base-files / etc / hotplug.d / firmware / 10-rt2x00-eeprom
index 02bdfa346dc09d48b9b1d95777a500e3e292226c..c5d0d6978b45ea75d5f6b9746028270fec1613e3 100644 (file)
@@ -17,7 +17,7 @@ rt2x00_eeprom_extract() {
        [ -n "$mtd" ] || \
                rt2x00_eeprom_die "no mtd device found for partition $part"
 
-       dd if=$mtd of=/lib/firmware/$FIRMWARE bs=1 skip=$offset count=$count || \
+       dd if=$mtd of=/lib/firmware/$FIRMWARE bs=1 skip=$offset count=$count 2>/dev/null || \
                rt2x00_eeprom_die "failed to extract from $mtd"
 }
 
@@ -60,6 +60,7 @@ case "$FIRMWARE" in
        nbg-419n | \
        nw718 | \
        omni-emb | \
+       psr-680w | \
        rt-n15 | \
        rt-n56u | \
        sl-r7205 | \