commit | 0588d94fd7e414367a7ae517569d2222441c255f | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Fri Jan 16 10:06:13 2009 +0100 |
committer | Marcel Holtmann <marcel@holtmann.org> | Fri Feb 27 06:14:33 2009 +0100 |
tree | c8563ce159bbea94e57df39a9b27bb1628ebccdd | |
parent | f62e4323ab43c59e7cd7f72c1eb392d7c767ce5a [diff] |
Bluetooth: Restrict application of socket options The new socket options should only be evaluated for SOL_BLUETOOTH level and not for every other level. Previously this causes some minor issues when detecting if a kernel with certain features is available. Also restrict BT_SECURITY to SOCK_SEQPACKET for L2CAP and SOCK_STREAM for the RFCOMM protocol. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>