Hi Dave,
quoted text > When the l2cap info_timer is active the info_state will be set to
> L2CAP_INFO_FEAT_MASK_REQ_SENT, and it will be unset after the timer
> is deleted or timeout triggered.
>
> Here in hci_conn_del only call del_timer_sync when the info_state
> is set to L2CAP_INFO_FEAT_MASK_REQ_SENT.
>
> Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
the comment should say l2cap_conn_del, but besides that, the patch is
good.
Acked-by: Marcel Holtmann <marcel@holtmann.org>
in case someone is quicker than me getting this to Linus.
Regards
Marcel
--
unsubscribe notice To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Messages in current thread:
Re: [PATCH] l2cap info_timer delete fix in hci_conn_del , Marcel Holtmann , (Mon Mar 3, 6:59 am)