aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorMarcel Holtmann <[email protected]>2012-02-20 14:50:33 +0100
committerJohan Hedberg <[email protected]>2012-02-20 15:56:05 +0200
commitcedc5469778846ee18c653aaa6d70681961eed93 (patch)
tree62474c68745e8c63f35ba8af4fe8ad31e0e2fa8c /lib/string_helpers.c
parent2f39cdb7a270da24532734dfdfd10c490be981c4 (diff)
Bluetooth: Lock socket when reading HCI socket options
When reading the HCI raw socket option, the socket was never locked. So lock the socket and in addition return EINVAL on non raw sockets. Signed-off-by: Marcel Holtmann <[email protected]> Signed-off-by: Johan Hedberg <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions