Re: [PATCH] l2cap info_timer delete fix in hci_conn_del

From: Marcel Holtmann
Date: Mon Mar 03 2008 - 05:59:30 EST


Hi Dave,

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@xxxxxxxxx>

the comment should say l2cap_conn_del, but besides that, the patch is good.

Acked-by: Marcel Holtmann <marcel@xxxxxxxxxxxx>

in case someone is quicker than me getting this to Linus.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/