Skip to content

Commit 803aae7

Browse files
Have sff_mgr bring a linkup port out of lpmode (#592)
aristanetworks/sonic#121
1 parent ee9da5f commit 803aae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sonic-xcvrd/xcvrd/sff_mgr.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ def task_worker(self):
436436
# Skip if these essential routines are not available
437437
continue
438438

439-
if xcvr_inserted:
439+
if xcvr_inserted or (admin_status_changed and data[self.ADMIN_STATUS] == "up"):
440440
set_lp_success = (
441441
sfp.set_lpmode(False)
442442
if isinstance(api, Sff8472Api)

0 commit comments

Comments
 (0)