summaryrefslogtreecommitdiff
path: root/xpp/card_fxo.c
diff options
context:
space:
mode:
Diffstat (limited to 'xpp/card_fxo.c')
-rw-r--r--xpp/card_fxo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xpp/card_fxo.c b/xpp/card_fxo.c
index d383e5d..74b1241 100644
--- a/xpp/card_fxo.c
+++ b/xpp/card_fxo.c
@@ -211,10 +211,12 @@ static void clean_proc(xbus_t *xbus, xpd_t *xpd)
if(priv->xpd_slic) {
DBG("Removing xpd DAA file %s/%s\n", xbus->busname, xpd->xpdname);
remove_proc_entry(PROC_DAA_FNAME, xpd->proc_xpd_dir);
+ priv->xpd_slic = NULL;
}
if(priv->fxo_info) {
DBG("Removing xpd FXO_INFO file %s/%s\n", xbus->busname, xpd->xpdname);
remove_proc_entry(PROC_FXO_INFO_FNAME, xpd->proc_xpd_dir);
+ priv->fxo_info = NULL;
}
#endif
}