diff --git a/rtlplayground.c b/rtlplayground.c index 18e7e3c..61acd64 100644 --- a/rtlplayground.c +++ b/rtlplayground.c @@ -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; }