summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-08-05 22:18:20 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-08-05 22:18:20 +0200
commit6381c74dc2de8b4887ce3a1b41b935f91c2287fc (patch)
tree82e0d77e6aeb4056b4eae3b95ebce7e8e93b7e5a /src
parent01e2320f66a5aeb203f53b51037e37d3d51ce288 (diff)
Remove the default PIN code option
Diffstat (limited to 'src')
-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);