diff --git a/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c b/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c index 8132849a9ae12d..1e03b2fb7b6b63 100644 --- a/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c +++ b/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c @@ -731,7 +731,7 @@ static void ag71xx_sgmii_init_qca955x(struct device_node *np) pr_err("ag71xx: max retries for SGMII fixup exceeded\n"); break; } - } while (!(sgmii_status == 0xf || sgmii_status == 0x10)); + } while (!(sgmii_status == 0x1f || sgmii_status == 0x10)); sgmii_out: iounmap(gmac_base);