From 54e66b8cb829527f62732abc364d136037ae5568 Mon Sep 17 00:00:00 2001 From: sruffell Date: Wed, 24 Jun 2009 18:46:27 +0000 Subject: wct4xxp, wcte11xp: Use the default configuration by default at startup. This change allows the hardware to provide timeing to asterisk before they have been properly configured. DAHDI-275. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4662 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- kernel/wcte11xp.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'kernel/wcte11xp.c') diff --git a/kernel/wcte11xp.c b/kernel/wcte11xp.c index a50fd25..24d62a0 100644 --- a/kernel/wcte11xp.c +++ b/kernel/wcte11xp.c @@ -5,7 +5,7 @@ * Matthew Fredrickson * William Meadows * - * Copyright (C) 2004, Digium, Inc. + * Copyright (C) 2004-2009, Digium, Inc. * * All rights reserved. * @@ -1016,6 +1016,10 @@ static int t1xxp_software_init(struct t1 *wc) printk("Unable to register span with zaptel\n"); return -1; } + + /* Start off with the defaults so this card can provide timing to + * Asterisk before being properly configured. */ + t1xxp_startup(&wc->span); return 0; } -- cgit v1.2.3