summaryrefslogtreecommitdiff
path: root/android/main.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2013-11-05 15:18:46 +0100
committerJohan Hedberg <johan.hedberg@intel.com>2013-11-06 10:07:47 +0200
commit81c0c34ef6020120517bb6628e7501b3e9c4a0dd (patch)
tree48b7e9a51fab88c45ed15332d5e3a6dd531715b8 /android/main.c
parent9d89bb121bfaf0198ebff724e28f946789d88e04 (diff)
downloadbluez-81c0c34ef6020120517bb6628e7501b3e9c4a0dd.tar.gz
android: Remove mgmt_version and mgmt_revision static variables
There is no need to keep those as Android daemon is expecting new enough kernel to operate.
Diffstat (limited to 'android/main.c')
-rw-r--r--android/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/android/main.c b/android/main.c
index 7ee47fc5b..d68abe169 100644
--- a/android/main.c
+++ b/android/main.c
@@ -68,9 +68,6 @@
static GMainLoop *event_loop;
static struct mgmt *mgmt_if = NULL;
-static uint8_t mgmt_version = 0;
-static uint8_t mgmt_revision = 0;
-
static uint16_t adapter_index = MGMT_INDEX_NONE;
static guint adapter_timeout = 0;
@@ -588,6 +585,7 @@ static void read_version_complete(uint8_t status, uint16_t length,
const void *param, void *user_data)
{
const struct mgmt_rp_read_version *rp = param;
+ uint8_t mgmt_version, mgmt_revision;
DBG("");