[][Fix build error for mac80211 SDK]
[Description]
Fix build error for mac80211 SDK
[Release-log]
N/A
Change-Id: I9cb2d12f60a3171663916187366ea08058ca796d
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6021111
diff --git a/autobuild_mac80211_release/target/linux/mediatek/patches-5.4/1007-mtketh-add-qdma-sw-solution-for-mac80211-sdk.patch b/autobuild_mac80211_release/target/linux/mediatek/patches-5.4/1007-mtketh-add-qdma-sw-solution-for-mac80211-sdk.patch
index 2b143bf..2089f78 100644
--- a/autobuild_mac80211_release/target/linux/mediatek/patches-5.4/1007-mtketh-add-qdma-sw-solution-for-mac80211-sdk.patch
+++ b/autobuild_mac80211_release/target/linux/mediatek/patches-5.4/1007-mtketh-add-qdma-sw-solution-for-mac80211-sdk.patch
@@ -10,16 +10,15 @@
#if defined(CONFIG_NET_MEDIATEK_HNAT) || defined(CONFIG_NET_MEDIATEK_HNAT_MODULE)
#include "mtk_hnat/nf_hnat_mtk.h"
-@@ -3713,6 +3714,12 @@ static int mtk_probe(struct platform_device *pdev)
- eth->mtk_dma_monitor_timer.expires = jiffies;
+@@ -3722,6 +3722,10 @@ static int mtk_probe(struct platform_device *pdev)
+ timer_setup(ð->mtk_dma_monitor_timer, mtk_dma_monitor, 0);
+ eth->mtk_dma_monitor_timer.expires = jiffies;
add_timer(ð->mtk_dma_monitor_timer);
-
-+#if defined(CONFIG_MEDIATEK_NETSYS_V2)
+-#endif
++
+ mtk_w32(eth, 0x00000404, MTK_QTX_CFG(MTK_QDMA_GMAC2_QID));
+ mtk_w32(eth, 0x40000000, MTK_QTX_SCH(MTK_QDMA_GMAC2_QID));
+ mtk_w32(eth, 0x80008000, QDMA_TX_4SCH_BASE(0));
+#endif
-+
+
return 0;
-
- err_deinit_mdio: