[barefoot][device][plugins] Fix sfp reset (#6745)
Fix sfp reset in Barefoot's sfputil Signed-off-by: Volodymyr Boyko <volodymyrx.boiko@intel.com>
This commit is contained in:
parent
c5a1132d44
commit
11937d379c
@ -160,7 +160,7 @@ class SfpUtil(SfpUtilBase):
|
||||
status = pltfm_mgr.pltfm_mgr_qsfp_reset(port_num, True)
|
||||
status = pltfm_mgr.pltfm_mgr_qsfp_reset(port_num, False)
|
||||
self.thrift_teardown()
|
||||
return status
|
||||
return (status == 0)
|
||||
|
||||
def check_transceiver_change(self):
|
||||
if not self.ready:
|
||||
|
Loading…
Reference in New Issue
Block a user