xpp: BRI: make it always SYNC_MODE_AB (like PRI)
Signed-off-by: Oron Peled <oron.peled@xorcom.com> Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10477 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
committed by
Tzafrir Cohen
parent
bb63d03bba
commit
1fbf6d8562
@@ -706,6 +706,7 @@ static xpd_t *BRI_card_new(xbus_t *xbus, int unit, int subunit,
|
||||
return NULL;
|
||||
PHONEDEV(xpd).direction = (to_phone) ? TO_PHONE : TO_PSTN;
|
||||
xpd->type_name = (to_phone) ? "BRI_NT" : "BRI_TE";
|
||||
xbus->sync_mode_default = SYNC_MODE_AB;
|
||||
if (bri_proc_create(xbus, xpd) < 0)
|
||||
goto err;
|
||||
return xpd;
|
||||
|
||||
Reference in New Issue
Block a user