summaryrefslogtreecommitdiff
path: root/xpp/xpp_usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'xpp/xpp_usb.c')
-rw-r--r--xpp/xpp_usb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xpp/xpp_usb.c b/xpp/xpp_usb.c
index 4f81680..1a62974 100644
--- a/xpp/xpp_usb.c
+++ b/xpp/xpp_usb.c
@@ -662,6 +662,7 @@ probe_failed:
if(procsummary) {
DBG("Remove proc_entry: " PROC_USBXPP_SUMMARY "\n");
remove_proc_entry(PROC_USBXPP_SUMMARY, xbus->proc_xbus_dir);
+ procsummary = NULL;
}
xbus_disconnect(xbus); // Blocking until fully deactivated!
}
@@ -705,6 +706,7 @@ static void xusb_disconnect(struct usb_interface *interface)
#ifdef CONFIG_PROC_FS
if(xbus->proc_xbus_dir) {
remove_proc_entry(PROC_USBXPP_SUMMARY, xbus->proc_xbus_dir);
+ xbus->proc_xbus_dir = NULL;
}
#endif
xusb->present = 0;