[zaptel-commits] tzafrir: trunk r1282 - /trunk/xpp/xpp_usb.c

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Wed Aug 9 19:48:07 MST 2006


Author: tzafrir
Date: Wed Aug  9 21:48:07 2006
New Revision: 1282

URL: http://svn.digium.com/view/zaptel?rev=1282&view=rev
Log:
Bugfix: the PROC_USBXPP_SUMMARY does not own xpp->proc_xbus_dir and should
        not nullify it (partial reversal of changeset:1225)

Modified:
    trunk/xpp/xpp_usb.c

Modified: trunk/xpp/xpp_usb.c
URL: http://svn.digium.com/view/zaptel/trunk/xpp/xpp_usb.c?rev=1282&r1=1281&r2=1282&view=diff
==============================================================================
--- trunk/xpp/xpp_usb.c (original)
+++ trunk/xpp/xpp_usb.c Wed Aug  9 21:48:07 2006
@@ -705,8 +705,8 @@
 
 #ifdef CONFIG_PROC_FS
 	if(xbus->proc_xbus_dir) {
+		DBG("Remove proc_entry: " PROC_USBXPP_SUMMARY "\n");
 		remove_proc_entry(PROC_USBXPP_SUMMARY, xbus->proc_xbus_dir);
-		xbus->proc_xbus_dir = NULL;
 	}
 #endif
 	xusb->present = 0;



More information about the zaptel-commits mailing list