diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-10-29 08:53:02 -0600 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-10-29 08:53:02 -0600 |
| commit | b875e2fa0f246222874107954467087d0cd7b93c (patch) | |
| tree | b9cfeb4a8c76db30cbb3f61ef7867afb5e48ab45 /drivers | |
| parent | 7007e7173797c4544ab0052922a12f217d9523ff (diff) | |
ISDN: Fix isdnloop for transparent/V.110
For some reason, isdnloop didn't support the transparent encoding,
which is necessary for testing V.110. Testing also found a typo
causing an oops in isdn_common.c. Fixed.
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/isdn/i4l/isdn_common.c | 2 | ||||
| -rw-r--r-- | drivers/isdn/isdnloop/isdnloop.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/drivers/isdn/i4l/isdn_common.c b/drivers/isdn/i4l/isdn_common.c index e46f2d5285ba..10058cb820a2 100644 --- a/drivers/isdn/i4l/isdn_common.c +++ b/drivers/isdn/i4l/isdn_common.c @@ -2724,7 +2724,7 @@ isdn_v110_data_req(struct isdn_slot *slot, struct sk_buff *skb) dev_kfree_skb(skb); atomic_inc(&slot->iv110.v110use); - slots->iv110.v110->skbuser++; + slot->iv110.v110->skbuser++; atomic_dec(&slot->iv110.v110use); /* For V.110 return unencoded data length */ diff --git a/drivers/isdn/isdnloop/isdnloop.c b/drivers/isdn/isdnloop/isdnloop.c index 267e0e4a527b..ce799f4cb3a7 100644 --- a/drivers/isdn/isdnloop/isdnloop.c +++ b/drivers/isdn/isdnloop/isdnloop.c @@ -1335,6 +1335,9 @@ isdnloop_command(isdn_ctrl * c, isdnloop_card * card) case ISDN_PROTO_L2_HDLC: sprintf(cbuf, "%02d;BTRA\n", (int) (a & 255) + 1); break; + case ISDN_PROTO_L2_TRANS: + sprintf(cbuf, "%02d;BTRA\n", (int) (a & 255) + 1); + break; default: return -EINVAL; } |
