mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
isdn/gigaset: correct CAPI voice connection encoding
Make the Gigaset CAPI driver select L2_VOICE (AT^SBPR=2) as the layer 2 encoding for transparent connections, like the ISDN4Linux variant. L2_BITSYNC (AT^SBPR=0) mutes internal connections and distorts external ones. Impact: bugfix Signed-off-by: Tilman Schmidt <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
e7752ee280
commit
278a582989
1 changed files with 4 additions and 4 deletions
|
|
@ -1327,13 +1327,13 @@ static void do_connect_req(struct gigaset_capi_ctr *iif,
|
|||
bcs->proto2 = L2_HDLC;
|
||||
break;
|
||||
case 1:
|
||||
bcs->proto2 = L2_BITSYNC;
|
||||
bcs->proto2 = L2_VOICE;
|
||||
break;
|
||||
default:
|
||||
dev_warn(cs->dev,
|
||||
"B1 Protocol %u unsupported, using Transparent\n",
|
||||
cmsg->B1protocol);
|
||||
bcs->proto2 = L2_BITSYNC;
|
||||
bcs->proto2 = L2_VOICE;
|
||||
}
|
||||
if (cmsg->B2protocol != 1)
|
||||
dev_warn(cs->dev,
|
||||
|
|
@ -1456,13 +1456,13 @@ static void do_connect_resp(struct gigaset_capi_ctr *iif,
|
|||
bcs->proto2 = L2_HDLC;
|
||||
break;
|
||||
case 1:
|
||||
bcs->proto2 = L2_BITSYNC;
|
||||
bcs->proto2 = L2_VOICE;
|
||||
break;
|
||||
default:
|
||||
dev_warn(cs->dev,
|
||||
"B1 Protocol %u unsupported, using Transparent\n",
|
||||
cmsg->B1protocol);
|
||||
bcs->proto2 = L2_BITSYNC;
|
||||
bcs->proto2 = L2_VOICE;
|
||||
}
|
||||
if (cmsg->B2protocol != 1)
|
||||
dev_warn(cs->dev,
|
||||
|
|
|
|||
Loading…
Reference in a new issue