diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-08-26 00:06:30 -0700 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-09-16 14:35:54 -0300 |
commit | 06f43cbc4d61922d5a14c28909f02ae9c7fc5283 (patch) | |
tree | d18bbd420c190a7db64abdb66fb89cede2e0eb8f /kernel/groups.c | |
parent | f81fe64f3d3bc76c1a8d3edb80b54219a60ff291 (diff) | |
download | linux-06f43cbc4d61922d5a14c28909f02ae9c7fc5283.tar.gz linux-06f43cbc4d61922d5a14c28909f02ae9c7fc5283.tar.bz2 linux-06f43cbc4d61922d5a14c28909f02ae9c7fc5283.zip |
Bluetooth: Fix handling of getpeername() for HCI sockets
The HCI sockets do not have a peer associated with it and so make sure
that getpeername() returns EOPNOTSUPP since this operation is actually
not supported on HCI sockets.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'kernel/groups.c')
0 files changed, 0 insertions, 0 deletions