mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user