Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion platform/mellanox/mlnx-platform-api/sonic_platform/sfp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@ def check_media_interface_technology(self, xcvr_api):
xcvr_api (object): xcvr api object
"""
media_interface = self.read_eeprom(CMIS_MEDIA_INTERFACE_TECH_OFFSET, 1)
return media_interface[0] == 0x0F if media_interface else False
return media_interface[0] != 0x0F if media_interface else False

def is_supported_for_software_control(self, xcvr_api):
"""Check if the api object supports software control
Expand Down