Skip to content

Commit 2d5e52b

Browse files
authored
Merge branch '202412' into fix/fix_srv6_static_sids_crash_202412
2 parents 26e0868 + 20bca42 commit 2d5e52b

File tree

1 file changed

+1
-1
lines changed
  • platform/mellanox/mlnx-platform-api/sonic_platform

1 file changed

+1
-1
lines changed

platform/mellanox/mlnx-platform-api/sonic_platform/sfp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@ def check_media_interface_technology(self, xcvr_api):
11141114
xcvr_api (object): xcvr api object
11151115
"""
11161116
media_interface = self.read_eeprom(CMIS_MEDIA_INTERFACE_TECH_OFFSET, 1)
1117-
return media_interface[0] == 0x0F if media_interface else False
1117+
return media_interface[0] != 0x0F if media_interface else False
11181118

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

0 commit comments

Comments
 (0)