ath79: add support for ZyXEL NBG6716
[openwrt/staging/dedeckeh.git] / target / linux / ath79 / base-files / etc / hotplug.d / firmware / 10-ath9k-eeprom
index 2cd46f8c28a80c65042bee0e014819a80908f376..14cfe64a4158d21a8eb6aab47e6fac99be1965c5 100644 (file)
@@ -47,6 +47,10 @@ case "$FIRMWARE" in
                caldata_extract "radiocfg" 0x1000 0x440
                ath9k_patch_mac $(mtd_get_mac_ascii devdata "wlan24mac")
                ;;
+       zyxel,nbg6716)
+               caldata_extract "art" 0x1000 0x440
+               ath9k_patch_mac $(mtd_get_mac_ascii u-boot-env ethaddr)
+               ;;
        *)
                caldata_die "board $board is not supported yet"
                ;;