summaryrefslogtreecommitdiff
path: root/health/hdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'health/hdp.c')
-rw-r--r--health/hdp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/health/hdp.c b/health/hdp.c
index fc8829ef3..fd3b1caa2 100644
--- a/health/hdp.c
+++ b/health/hdp.c
@@ -1574,6 +1574,11 @@ static void hdp_mdl_conn_cb(struct mcap_mdl *mdl, GError *err, gpointer data)
DBUS_TYPE_INVALID);
g_dbus_send_message(hdp_conn->conn, reply);
+ if (!check_channel_conf(hdp_chann)) {
+ close_mdl(hdp_chann);
+ return;
+ }
+
if (dev->fr)
return;