[svn-commits] sruffell: linux/trunk r6797 - /linux/trunk/drivers/dahdi/wcte11xp.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Jun 29 17:44:58 CDT 2009


Author: sruffell
Date: Mon Jun 29 17:44:54 2009
New Revision: 6797

URL: http://svn.asterisk.org/svn-view/dahdi?view=rev&rev=6797
Log:
wcte11xp: Set the owner field of the dahdi_span before registration.

(related to issue #10601)

Modified:
    linux/trunk/drivers/dahdi/wcte11xp.c

Modified: linux/trunk/drivers/dahdi/wcte11xp.c
URL: http://svn.asterisk.org/svn-view/dahdi/linux/trunk/drivers/dahdi/wcte11xp.c?view=diff&rev=6797&r1=6796&r2=6797
==============================================================================
--- linux/trunk/drivers/dahdi/wcte11xp.c (original)
+++ linux/trunk/drivers/dahdi/wcte11xp.c Mon Jun 29 17:44:54 2009
@@ -964,6 +964,7 @@
 		return -1;
 	t4_serial_setup(wc);
 	wc->num = x;
+	wc->span.owner = THIS_MODULE;
 	sprintf(wc->span.name, "WCT1/%d", wc->num);
 	snprintf(wc->span.desc, sizeof(wc->span.desc) - 1, "%s Card %d", wc->variety, wc->num);
 	wc->span.manufacturer = "Digium";




More information about the svn-commits mailing list