diff --git a/target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c b/target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c index dfdab61129..2f66d3c472 100644 --- a/target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c +++ b/target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c @@ -2502,8 +2502,8 @@ static void rtpcs_930x_sds_do_rx_calibration(struct rtpcs_serdes *sds, rtpcs_930x_sds_do_rx_calibration_5(sds, hw_mode); mdelay(20); - /* Do this only for 10GR mode, SDS active in mode 0x1a */ - if (rtpcs_sds_read_bits(sds, 0x1f, 9, 11, 7) == RTPCS_930X_SDS_MODE_10GBASER) { + /* Do this only for 10GR mode */ + if (hw_mode == RTPCS_SDS_MODE_10GBASER) { pr_info("%s: SDS enabled\n", __func__); latch_sts = rtpcs_sds_read_bits(sds, 0x4, 1, 2, 2); mdelay(1);