Commit: abf5ba6b80add53a4617ffdd06ac2102095347c2
Parent: 49b8c5901584eab77af40f8ad19779747b4506d6
Author: Bastien Nocera <hadess@hadess.net>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2022-09-01 21:43:35
Tree: 2a673e17e51a980b451c24d95d3d7f36ee85f0d5

adapter: Keep track of whether the adapter is rfkill'ed Instead of only replying to D-Bus requests with an error saying the adapter is blocked, keep track of the rfkill being enabled or disabled so we know the rfkill state of the adapter at all times.

Diffstat

M src/adapter.c | 25 +++++++++++++++++++++++- -
M src/adapter.h | 1 +
M src/btd.h | 1 +
M src/rfkill.c | 89 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - -

4 files changed, 91 insertions(+), 25 deletions(-)

View Full Diff | Patch