diff --git a/target/linux/ramips/files/drivers/net/ethernet/mtk/mtk_hnat/hnat.c b/target/linux/ramips/files/drivers/net/ethernet/mtk/mtk_hnat/hnat.c index 09b51fa94..1a4854666 100644 --- a/target/linux/ramips/files/drivers/net/ethernet/mtk/mtk_hnat/hnat.c +++ b/target/linux/ramips/files/drivers/net/ethernet/mtk/mtk_hnat/hnat.c @@ -855,7 +855,7 @@ static int hnat_remove(struct platform_device *pdev) static const struct mtk_hnat_data hnat_data_v1 = { .num_of_sch = 2, - .whnat = true, + .whnat = false, .per_flow_accounting = false, .mcast = false, .version = MTK_HNAT_V1, diff --git a/target/linux/ramips/patches-5.4/991-mt7621-improve_cpu_clock.patch b/target/linux/ramips/patches-5.4/991-mt7621-improve_cpu_clock.patch index 6444b8241..e123fb0d5 100644 --- a/target/linux/ramips/patches-5.4/991-mt7621-improve_cpu_clock.patch +++ b/target/linux/ramips/patches-5.4/991-mt7621-improve_cpu_clock.patch @@ -13,7 +13,7 @@ fbdiv = (pll >> CPU_PLL_FBDIV_SHIFT) & CPU_PLL_FBDIV_MASK; prediv = (pll >> CPU_PLL_PREDIV_SHIFT) & CPU_PLL_PREDIV_MASK; + /* When using the PLL, this code will overclock the CPU */ -+#define MT7621A_TARGET_CLOCK_HZ 1100000000 ++#define MT7621A_TARGET_CLOCK_HZ 1000000000 + target_fbdiv = (MT7621A_TARGET_CLOCK_HZ * ffiv) / ffrac; + target_fbdiv = target_fbdiv << prediv_tbl[prediv]; + target_fbdiv = (target_fbdiv / xtal_clk) - 1;