From e4d81182fb08f0cdfad672d0e95b0aaf48eefa7c Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 2 Apr 2008 20:09:15 +0000 Subject: Change last_mode to global_mode. --- hcid/adapter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hcid/adapter.h') 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 */ -- cgit