ar71xx: disable pdata->use_flow_control for AR7240

Flow control is causing the AR7240 switch to hang.
Fixes: FS#3054

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
This commit is contained in:
thedukesd 2021-02-14 20:00:49 +02:00 committed by CN_SZTL
parent 400288d50f
commit d1f2257d3b
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -931,7 +931,6 @@ void __init ath79_register_eth(unsigned int id)
pdata->speed = SPEED_1000;
pdata->duplex = DUPLEX_FULL;
pdata->switch_data = &ath79_switch_data;
pdata->use_flow_control = 1;
ath79_switch_data.phy_poll_mask |= BIT(4);
}