diff --git a/sonic_platform_base/sonic_xcvr/api/public/c_cmis.py b/sonic_platform_base/sonic_xcvr/api/public/c_cmis.py index 6a94df544..bb7e3a703 100644 --- a/sonic_platform_base/sonic_xcvr/api/public/c_cmis.py +++ b/sonic_platform_base/sonic_xcvr/api/public/c_cmis.py @@ -143,9 +143,6 @@ def set_tx_power(self, tx_power): Return True if the provision succeeds, False if it fails ''' min_prog_tx_output_power, max_prog_tx_output_power = self.get_supported_power_config() - if tx_power > max_prog_tx_output_power or tx_power < min_prog_tx_output_power: - raise ValueError('Provisioned TX power out of range. Max: %.1f; Min: %.1f dBm.' - %(max_prog_tx_output_power, min_prog_tx_output_power)) status = self.xcvr_eeprom.write(consts.TX_CONFIG_POWER, tx_power) time.sleep(1) return status