summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/hcid.h5
-rw-r--r--src/main.c3
2 files changed, 1 insertions, 7 deletions
diff --git a/src/hcid.h b/src/hcid.h
index d0335ccf..f87341c5 100644
--- a/src/hcid.h
+++ b/src/hcid.h
@@ -99,10 +99,7 @@ struct hcid_opts {
int security;
int pairing;
int offmode;
- char deviceid[15];
-
- uint8_t pin_code[16];
- int pin_len;
+ char deviceid[15];
int sock;
};
diff --git a/src/main.c b/src/main.c
index ba8d71ef..9dbb0d01 100644
--- a/src/main.c
+++ b/src/main.c
@@ -866,9 +866,6 @@ int main(int argc, char *argv[])
if (gethostname(hcid.host_name, sizeof(hcid.host_name) - 1) < 0)
strcpy(hcid.host_name, "noname");
- strcpy((char *) hcid.pin_code, "BlueZ");
- hcid.pin_len = 5;
-
init_defaults();
context = g_option_context_new(NULL);