[][Fix symbol err]
[Description]
Fix symbol err
[Release-log]
N/A
Change-Id: I353ad04cf0e508398585f35181ea36c2d13e7458
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6213660
diff --git a/autobuild_mac80211_release/package/kernel/mt76/patches/3002-mt76-add-wed-rx-support.patch b/autobuild_mac80211_release/package/kernel/mt76/patches/3002-mt76-add-wed-rx-support.patch
index c895f33..5c5a05d 100755
--- a/autobuild_mac80211_release/package/kernel/mt76/patches/3002-mt76-add-wed-rx-support.patch
+++ b/autobuild_mac80211_release/package/kernel/mt76/patches/3002-mt76-add-wed-rx-support.patch
@@ -644,9 +644,7 @@
wtbl_hdr);
+ if (mtk_wed_device_active(wed) && wed->ver > MTK_WED_V1)
-+
-
-(wed, WED_WO_STA_REC, skb->data, skb->len);
++ mtk_wed_device_update_msg(wed, WED_WO_STA_REC, skb->data, skb->len);
ret = mt76_mcu_skb_send_msg(dev, skb, cmd, true);
if (ret)
return ret;
diff --git a/target/linux/mediatek/base-files/sbin/smp-mt76.sh b/target/linux/mediatek/base-files/sbin/smp-mt76.sh
index c469c5c..c01743c 100755
--- a/target/linux/mediatek/base-files/sbin/smp-mt76.sh
+++ b/target/linux/mediatek/base-files/sbin/smp-mt76.sh
@@ -99,11 +99,15 @@
if [[ "$WED_ENABLE" -eq "1" ]]; then
dbg2 "WED_ENABLE ON irq/iptable setting"
#TCP Binding
- iptables -I FORWARD 1 -p tcp -m conntrack --ctstate RELATED,ESTABLISHED -j FLOWOFFLOAD --hw
- ip6tables -I FORWARD 1 -p tcp -m conntrack --ctstate RELATED,ESTABLISHED -j FLOWOFFLOAD --hw
+ iptables -D FORWARD -p tcp -m conntrack --ctstate RELATED,ESTABLISHED -j FLOWOFFLOAD --hw
+ iptables -I FORWARD -p tcp -m conntrack --ctstate RELATED,ESTABLISHED -j FLOWOFFLOAD --hw
+ ip6tables -D FORWARD -p tcp -m conntrack --ctstate RELATED,ESTABLISHED -j FLOWOFFLOAD --hw
+ ip6tables -I FORWARD -p tcp -m conntrack --ctstate RELATED,ESTABLISHED -j FLOWOFFLOAD --hw
#UDP Binding
- iptables -I FORWARD 1 -p udp -j FLOWOFFLOAD --hw
- ip6tables -I FORWARD 1 -p udp -j FLOWOFFLOAD --hw
+ iptables -D FORWARD -p udp -j FLOWOFFLOAD --hw
+ iptables -I FORWARD -p udp -j FLOWOFFLOAD --hw
+ ip6tables -D FORWARD -p udp -j FLOWOFFLOAD --hw
+ ip6tables -I FORWARD -p udp -j FLOWOFFLOAD --hw
#AX6000 AX7800 - SOC
if [[ "$WIFI_RADIO1" -eq "1" ]]; then