diff options
author | Frédéric Danis <frederic.danis@linux.intel.com> | 2012-10-24 16:34:10 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-10-25 12:35:20 +0300 |
commit | a10a9f54abd0654d24b96ad7f47435c89735dfc2 (patch) | |
tree | bce19d03b7b2733c72bcf00cbe01211081d967d9 /src/mgmt.h | |
parent | 53b18295896dc988205704f5b9f93a3448324956 (diff) |
adapter: Read mode in storage at init
Mgmt interface allows to change connectable and discoverable adapter
status even if the adapter is off. So both status are changed during
adapter init.
Remove on_mode from btd_adapter_get_mode(), as it is no more used.
Update src/mgmt.c and plugins/neard.c
Diffstat (limited to 'src/mgmt.h')
-rw-r--r-- | src/mgmt.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -26,6 +26,7 @@ int mgmt_setup(void); void mgmt_cleanup(void); int mgmt_set_powered(int index, gboolean powered); +int mgmt_set_connectable(int index, gboolean connectable); int mgmt_set_discoverable(int index, gboolean discoverable, uint16_t timeout); int mgmt_set_pairable(int index, gboolean pairable); int mgmt_set_name(int index, const char *name); |