Skip to content

Commit 33d6b08

Browse files
kenrectorpkoning2
authored andcommitted
sigma: return corrrect CC on line disconnect
1 parent bad1e0e commit 33d6b08

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sigma/sigma_coc.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,9 @@ else { /* receive */
403403
}
404404
if (mux_sta[ln] & MUXL_RBP) /* break pending? */
405405
CC = CC3|CC4;
406-
else CC = mux_ldsc[ln].rcve? CC4: CC3;
406+
else if (mux_ldsc[ln].conn)
407+
CC = mux_ldsc[ln].rcve? CC4: CC3;
408+
else CC = 0;
407409
}
408410
return 0;
409411
}

0 commit comments

Comments
 (0)