[rdk-b][all][wifi][Refactor wifi sync script]
[Description]
Refactor wifi sync script to remove iw patches which not work for
wifi-hal
[Release-log]
N/A
diff --git a/mtk_scripts/filogic-sync-openwrt-wifi.sh b/mtk_scripts/filogic-sync-openwrt-wifi.sh
index 3efff41..64aaa29 100755
--- a/mtk_scripts/filogic-sync-openwrt-wifi.sh
+++ b/mtk_scripts/filogic-sync-openwrt-wifi.sh
@@ -76,6 +76,9 @@
echo "GEN iw patches.........."
cp meta-cmf-filogic/mtk_scripts/rdkb_inc_helper mac80211_package/package/network/utils/iw
cd mac80211_package/package/network/utils/iw
+#remove patches not work for wifi hal
+rm -rf patches/200-reduce_size.patch
+
./rdkb_inc_helper patches
mv patches.inc patches