diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-08-05 22:18:20 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-08-05 22:18:20 +0200 |
commit | 6381c74dc2de8b4887ce3a1b41b935f91c2287fc (patch) | |
tree | 82e0d77e6aeb4056b4eae3b95ebce7e8e93b7e5a /src | |
parent | 01e2320f66a5aeb203f53b51037e37d3d51ce288 (diff) |
Remove the default PIN code option
Diffstat (limited to 'src')
-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); |