ar71xx: add support for TRENDnet TEW-823DRU
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / lib / preinit / 82_patch_ath10k
index 4da611a..35a2fc9 100644 (file)
@@ -23,7 +23,7 @@ do_patch_ath10k_firmware() {
 
        # some boards have bogus mac in otp, patch the default mac in the firmware
        case $(ar71xx_board_name) in
-               dgl-5500-a1)
+               dgl-5500-a1 | tew-823dru)
                        local mac
                        mac=$(mtd_get_mac_ascii nvram wlan1_mac)
 
@@ -42,7 +42,7 @@ do_patch_ath10k_firmware() {
 
 check_patch_ath10k_firmware() {
        case $(ar71xx_board_name) in
-               dgl-5500-a1)
+               dgl-5500-a1 | tew-823dru)
                        do_patch_ath10k_firmware
                ;;
        esac