summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-06-13 19:33:58 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2012-06-13 19:33:58 +0300
commitcf75b3f8d213ce6ffdcf1e2587fe0a1974a7b29f (patch)
tree14bf9a6889ce5d1075aa9cf88c9ecfe7d86d0f05
parent00372cde4dc5b311e7142d0f43e8f343ce1dc210 (diff)
downloadbluez-cf75b3f8d213ce6ffdcf1e2587fe0a1974a7b29f.tar.gz
mgmtops: Clear pending_cod_change when powering off
-rw-r--r--plugins/mgmtops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c
index ea1552d39..16a97c9aa 100644
--- a/plugins/mgmtops.c
+++ b/plugins/mgmtops.c
@@ -350,6 +350,7 @@ static int mgmt_update_powered(struct btd_adapter *adapter,
info->pending_uuids = NULL;
info->pending_uuid = FALSE;
info->pending_class = FALSE;
+ info->pending_cod_change = FALSE;
return 0;
}