Hi Johan, > There are a few places that don't explicitly check the connection > state before calling hci_disconnect(). To make this API do the right > thing take advantage of the new hci_abort_conn() API and also make > sure to only read the clock offset if we're really connected. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > net/bluetooth/hci_conn.c | 11 +++-------- > 1 file changed, 3 insertions(+), 8 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