Hi Ville, * Ville Tervo <ville.tervo@xxxxxxxxx> [2011-04-07 14:59:50 +0300]: > hci_io_capa_reply_evt() holds reference for hciconnection. It's useless since > hci_io_capa_request_evt()/hci_simple_pair_complete_evt() already protects the > connection. In addition it leaves connection open after failed SSP pairing. > > Signed-off-by: Ville Tervo <ville.tervo@xxxxxxxxx> > --- > net/bluetooth/hci_event.c | 2 -- > 1 files changed, 0 insertions(+), 2 deletions(-) > > diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c > index 7a3398d..6b878c8 100644 > --- a/net/bluetooth/hci_event.c > +++ b/net/bluetooth/hci_event.c > @@ -2419,8 +2419,6 @@ static inline void hci_io_capa_reply_evt(struct hci_dev *hdev, struct sk_buff *s > if (!conn) > goto unlock; > > - hci_conn_hold(conn); > - Patch has been applied, thanks. -- Gustavo F. Padovan http://profusion.mobi -- 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