From 6381c74dc2de8b4887ce3a1b41b935f91c2287fc Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 5 Aug 2008 22:18:20 +0200 Subject: Remove the default PIN code option --- src/hcid.h | 5 +---- src/main.c | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'src') 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); -- cgit