removed dynamic switching from transparent to hdlc mode. Instead we've got a config option hdlc=yes now which enables the hdlc controller for a data call

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Christian Richter
2006-03-20 18:04:05 +00:00
parent 3cb5768016
commit 52eb1ad9d1
5 changed files with 39 additions and 4 deletions

View File

@@ -818,9 +818,11 @@ int setup_bc(struct misdn_bchannel *bc)
int channel=bc->channel-1-(bc->channel>16);
int b_stid=stack->b_stids[channel>=0?channel:0];
#if 0
if (bc->hdlc) {
clean_up_bc(bc);
}
#endif
if (bc->upset) {
cb_log(4, stack->port, "$$$ bc already upsetted stid :%x\n", b_stid);
@@ -946,9 +948,7 @@ int setup_bc(struct misdn_bchannel *bc)
bc->upset=1;
manager_bchannel_deactivate(bc);
return 0;
}