diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-08-10 02:48:07 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-08-10 02:48:07 +0000 |
commit | 04526a65c91acd24d736e0f01db231fbca625ce7 (patch) | |
tree | 8642e14c644dbd579124a692cdfead455fbf4ee0 /xpp/xpp_usb.c | |
parent | fb80da8f60c80e4f48800c174a91c8bf949fb6bf (diff) |
Bugfix: the PROC_USBXPP_SUMMARY does not own xpp->proc_xbus_dir and should
not nullify it (partial reversal of changeset:1225)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1282 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/xpp_usb.c')
-rw-r--r-- | xpp/xpp_usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xpp/xpp_usb.c b/xpp/xpp_usb.c index 1a62974..42781f2 100644 --- a/xpp/xpp_usb.c +++ b/xpp/xpp_usb.c @@ -705,8 +705,8 @@ static void xusb_disconnect(struct usb_interface *interface) #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; |