Hi Johan, > Here's the patch to permit BT_SECURITY for L2CAP raw sockets. It allows > our BtIO code to be simpler since there's no need to do special L2CAP_LM > tricks when doing paring using L2CAP raw sockets. It seemed to work fine > in my tests (both SSP and legacy pairing) so if it's ok with you I'll > also push the corresponding patch for bluetoothd (which without this > patch would cause EINVAL when trying pairing on a newer kernel). I pushed a little bit different version of the patch that only explicitly allows SOCK_SEQPACKET and SOCK_RAW. In addition I did the same for the getsockopt() case :) Regards Marcel -- 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