diff options
author | Bastien Nocera <hadess@hadess.net> | 2022-09-01 13:07:14 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-09-01 11:43:35 -0700 |
commit | abf5ba6b80add53a4617ffdd06ac2102095347c2 (patch) | |
tree | 2a673e17e51a980b451c24d95d3d7f36ee85f0d5 /src/btd.h | |
parent | 49b8c5901584eab77af40f8ad19779747b4506d6 (diff) | |
download | bluez-abf5ba6b80add53a4617ffdd06ac2102095347c2.tar.gz |
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 (limited to 'src/btd.h')
-rw-r--r-- | src/btd.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -144,6 +144,7 @@ void plugin_cleanup(void); void rfkill_init(void); void rfkill_exit(void); +int rfkill_get_blocked(uint16_t index); GKeyFile *btd_get_main_conf(void); bool btd_kernel_experimental_enabled(const char *uuid); |