summaryrefslogtreecommitdiffstats
path: root/hcid/adapter.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-04-02 20:09:15 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-04-02 20:09:15 +0000
commite4d81182fb08f0cdfad672d0e95b0aaf48eefa7c (patch)
tree7dd515ba9f1f53e23d0a0248466e75ae3f6903dc /hcid/adapter.h
parent0d753f3a8fd1de89f9f43a6bdb69068fd420d905 (diff)
Change last_mode to global_mode.
Diffstat (limited to 'hcid/adapter.h')
-rw-r--r--hcid/adapter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/adapter.h b/hcid/adapter.h
index f520f718..9da56d3e 100644
--- a/hcid/adapter.h
+++ b/hcid/adapter.h
@@ -88,7 +88,7 @@ struct adapter {
uint32_t discov_timeout; /* discoverable time(msec) */
uint8_t scan_enable; /* scan mode: SCAN_DISABLED, SCAN_PAGE, SCAN_INQUIRY */
uint8_t mode; /* off, connectable, discoverable, limited */
- uint8_t last_mode; /* last mode changed */
+ uint8_t global_mode; /* last valid global mode */
uint8_t class[3]; /* device class */
int discov_active; /* standard discovery active: includes name resolution step */
int pdiscov_active; /* periodic discovery active */