psm: Log syncmask[1], not syncmask[0] twice

MFC after:	1 week
This commit is contained in:
Jean-Sébastien Pédron 2018-01-20 19:04:21 +00:00
parent 5a9fdfb303
commit 90b0eb9b4a

View File

@ -2978,7 +2978,7 @@ psmintr(void *arg)
sc->flags &= ~PSM_NEED_SYNCBITS;
VLOG(2, (LOG_DEBUG,
"psmintr: Sync bytes now %04x,%04x\n",
sc->mode.syncmask[0], sc->mode.syncmask[0]));
sc->mode.syncmask[0], sc->mode.syncmask[1]));
} else if ((sc->config & PSM_CONFIG_NOCHECKSYNC) == 0 &&
(c & sc->mode.syncmask[0]) != sc->mode.syncmask[1]) {
VLOG(3, (LOG_DEBUG, "psmintr: out of sync "