[PATCH][MISDNUSER] Use Reject parameter for deciding what happens to call via CONNECT_B3_RESP
"Maciej S. Szmigiero" <[email protected]> Sun, 13 Mar 2016 00:23:56 +0100
| Newsgroups | gmane.linux.isdn.i4l.user |
|---|---|
| Message-ID | <[email protected]> |
CAPI specs say that CONNECT_B3_RESP message uses Reject parameter for deciding what happens to incoming connection, however mISDNcapid code used Info instead. Signed-off-by: Maciej S. Szmigiero <[email protected]> --- capi20/ncci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capi20/ncci.c b/capi20/ncci.c index 6629205e347e..922761602175 100644 --- a/capi20/ncci.c +++ b/capi20/ncci.c @@ -151,7 +151,7 @@ static void ncci_connect_b3_resp(struct FsmInst *fi, int event, void *arg) struct mNCCI *ncci = fi->userdata; struct mc_buf *mc = arg; - if (mc->cmsg.Info == 0) { + if (mc->cmsg.Reject == 0) { FsmChangeState(fi, ST_NCCI_N_2); ncciCmsgHeader(ncci, mc, CAPI_CONNECT_B3_ACTIVE, CAPI_IND); if (ncci->ncpi)