Thread (2 messages) flat view 2 messages, 2 authors, 2013-09-01

Re: [PATCH] Bluetooth: Fix error handling for HCI socket options

From: Gustavo Padovan <hidden>
Date: 2013-09-01 16:21:01

Hi Marcel,

2013-08-26 Marcel Holtmann [off-list ref]:
The HCI sockets for monitor and control do not support any HCI specific
socket options and if tried, an error will be returned. However the
error used is EINVAL and that is not really descriptive. To make it
clear that these sockets are not handling HCI socket options, return
EBADFD instead.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
---
 net/bluetooth/hci_sock.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Patch has been applied to bluetooth-next. Thanks.

	Gustavo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help