Johan, >Never mind. d->sec_level is obviously the security requirement >for the RFCOMM link which could be different from the current >ACL security level. Nevertheless, I think instead of doing the >complicated if-statement on the key_type & pin_length you can >simply check the value of conn->sec_level. > I agree. Will update and send again. Waldek-- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html