Merge pull request #242 from tofurky/fix_xgspon_rates

Broaden range of SFP+ rates mapped to SDS_10GR
This commit is contained in:
logicog
2026-05-26 05:32:54 +02:00
committed by GitHub
+1 -1
View File
@@ -1173,7 +1173,7 @@ static inline uint8_t sfp_rate_to_sds_config(register uint8_t rate)
return SDS_1000BX_FIBER;
if (rate >= 0x19 && rate <= 0x20) // Ethernet 2.5 GBit
return SDS_HSG;
if (rate > 0x65 && rate < 0x70)
if (rate >= 0x63 && rate < 0x70)
return SDS_10GR;
return 0xff;
}