Commit: a2315de0f016dbf2c081216bf025f946ce088582
Parent: 2df57e5e4c7315baca64d810b7e5113e5e9efead
Author: Archie Pusaka <apusaka@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-11-05 20:50:59
Tree: 0246ab774ba250e940d321faed69f0bbb035f119

service: add adapter powered check before connecting When policy_connect() is called, there might be a case where the power is just turned off, hence the adapter is down. Add a check in btd_service_connect to detect such condition.

Diffstat

M src/service.c | 3 +++

1 files changed, 3 insertions(+), 0 deletions(-)

View Full Diff | Patch