Diff between 6b34b055117cebdb9fb502d138cb654c6c9949b7 and f0d0266acd9d0f91f8b68ebcbf9cf0e99f62956c
Changed Files
| File | Additions | Deletions | Status |
| src/device.c | +1 | -1 | modified |
Full Patch
diff --git a/src/device.c b/src/device.c
index e8bff71..17d023a 100644
--- a/src/device.c
+++ b/src/device.c
@@ -7413,7 +7413,7 @@ void btd_device_flags_changed(struct btd_device *dev, uint32_t supported_flags,
dev->supported_flags = supported_flags;
dev->current_flags = current_flags;
- dev->pending_flags = 0;
+ dev->pending_flags &= ~current_flags;
if (!changed_flags)
return;