bcm63xx: update ralink wlan firmware hotplug script for new eeprom size
[openwrt/staging/mkresin.git] / target / linux / brcm63xx / base-files / etc / hotplug.d / firmware / 10-rt2x00-eeprom
index 46be9d3f9935f2d9ab83bfa8a5b0aba8a2a1b16d..8e229d1d9aec4bc9815436264b852bc5e45de4c3 100644 (file)
@@ -12,7 +12,7 @@ rt2x00_eeprom_extract() {
        local count=$3
        local mtd
 
-       . /etc/functions.sh
+       . /lib/functions.sh
 
        mtd=$(find_mtd_part $part)
        [ -n "$mtd" ] || \
@@ -29,8 +29,11 @@ rt2x00_eeprom_extract() {
 board=$board_name
 
 case "$FIRMWARE" in
-"RT3062.eeprom" )
+"rt2x00.eeprom" )
        case $board in
+       HW556_A)
+               rt2x00_eeprom_extract "cal_data" 130560 512
+               ;;
        *)
                rt2x00_eeprom_die "board $board is not supported yet"
                ;;