File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -172,12 +172,12 @@ OnuStickyStatus Ttc::getOnuStickyStatus(bool monitoring)
172172 auto notIs = ~is;
173173
174174 // mgtTxPllLocked | mgtTxReady | operational | phaseGood <-- these should be GOOD for upstream to be UP
175- if ((notIs & 0xb01011010 ) == 0xb01011010 ) {
175+ if ((notIs & 0b01011010 ) == 0b01011010 ) {
176176 upstreamStatus = LinkStatus::Up;
177177 }
178178
179- // mgtRxPllLocked | mgtRxReady | rxLocked | rx40Locked <-- these should be GOOD for upstream to be UP
180- if ((notIs & 0xb10100101 ) == 0xb10100101 ) {
179+ // mgtRxPllLocked | mgtRxReady | rxLocked | rx40Locked <-- these should be GOOD for downstream to be UP
180+ if ((notIs & 0b10100101 ) == 0b10100101 ) {
181181 downstreamStatus = LinkStatus::Up;
182182 }
183183
You can’t perform that action at this time.
0 commit comments