We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 26e0868 + 20bca42 commit 2d5e52bCopy full SHA for 2d5e52b
platform/mellanox/mlnx-platform-api/sonic_platform/sfp.py
@@ -1114,7 +1114,7 @@ def check_media_interface_technology(self, xcvr_api):
1114
xcvr_api (object): xcvr api object
1115
"""
1116
media_interface = self.read_eeprom(CMIS_MEDIA_INTERFACE_TECH_OFFSET, 1)
1117
- return media_interface[0] == 0x0F if media_interface else False
+ return media_interface[0] != 0x0F if media_interface else False
1118
1119
def is_supported_for_software_control(self, xcvr_api):
1120
"""Check if the api object supports software control
0 commit comments