--- bluez-utils-3.36.orig/hcid/security.c 2008-10-03 13:37:17.000000000 +0200 +++ bluez-utils-3.36/hcid/security.c 2008-10-03 13:37:28.000000000 +0200 @@ -500,7 +500,7 @@ } else if (pairing == HCID_PAIRING_NONE) goto reject; - if (hcid.security == HCID_SEC_AUTO && !ci->out) { + if ((hcid.security == HCID_SEC_AUTO) && !ci->out) { set_pin_length(sba, hcid.pin_len); memcpy(pr.pin_code, hcid.pin_code, hcid.pin_len); pr.pin_len = hcid.pin_len;