Hi Johan, > When we're in peripheral mode (HCI_ADVERTISING flag is set) the most > natural mapping of connect() is to perform directed advertising to the > peer device. > > This patch does the necessary changes to enable directed advertising and > keeps the hci_conn state as BT_CONNECT in a similar way as is done for > central or BR/EDR connection initiation. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > include/net/bluetooth/hci.h | 1 + > net/bluetooth/hci_conn.c | 77 ++++++++++++++++++++++++++++++++++++++++----- > net/bluetooth/hci_event.c | 19 +++++++++-- > 3 files changed, 87 insertions(+), 10 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html