diff options
-rw-r--r-- | src/hcid.h | 5 | ||||
-rw-r--r-- | src/main.c | 3 |
2 files changed, 1 insertions, 7 deletions
@@ -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; }; @@ -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); |