summaryrefslogtreecommitdiffstats
path: root/src/cbs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cbs.c')
-rw-r--r--src/cbs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cbs.c b/src/cbs.c
index f9387e6c..6802dcb6 100644
--- a/src/cbs.c
+++ b/src/cbs.c
@@ -185,6 +185,7 @@ void ofono_cbs_notify(struct ofono_cbs *cbs, const unsigned char *pdu,
if (cbs->assembly == NULL)
return;
+
if (!cbs->powered)
return;
@@ -446,6 +447,7 @@ static DBusMessage *cbs_set_powered(struct ofono_cbs *cbs, gboolean value,
}
return NULL;
+
done:
cbs->powered = value;