Hi Johan, > LE connection attempts do not have a controller side timeout in the same > way as BR/EDR has (in form of the page timeout). Since we always do > scanning before initiating connections the attempts are always expected > to succeed in some reasonable time. > > This patch adds a timer which forces a cancellation of the connection > attempt within 20 seconds if it has not been successful by then. This > way we e.g. ensure that mgmt_pair_device times out eventually and gives > an error response. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > include/net/bluetooth/hci.h | 1 + > include/net/bluetooth/hci_core.h | 1 + > net/bluetooth/hci_conn.c | 13 +++++++++++++ > net/bluetooth/hci_event.c | 12 ++++++++++++ > 4 files changed, 27 insertions(+) both patches have 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