Thread (13 messages) flat view 13 messages, 7 authors, 2012-11-16

Re: [RFC] Bluetooth: Add BT_DEFER_SETUP option to sco socket

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-11-14 14:39:47

Hi Fred,
quoted
My idea is to define (I'm not sure if this is exactly the same as what you
suggested yourself) a bit, LM_DEFER, that e.g. sco_connect_ind() may return
and propagate this bit to hci_conn_request_evt().  This way all policing of
accepting SCO connections is handled from a single entry point into sco.c.
You detailed it much further than I did, but yes it is the same idea. I 
fully support it! If everybody agrees, then I can update the patch.

hci.h would receive the folowing line:

+ #define HCI_LM_DEFER   0x4000
can we actually not that that. This is an old public API and I rather
not extend it.

Regards

Marcel

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