Hi Nick, On Mon, Jul 13, 2009 at 12:46 PM, Nick Pelly<npelly@xxxxxxxxxx> wrote: > Any comments on this patch? > > It works for me, but my understanding of the RFCOMM state machine is naive. > iirc BT_CONFIG(PN frame) means the DLC is being configured than we got into connecting phase (BT_CONNECT) and send SABM frame. Only when receiving UA frame DLC is consider connected (BT_CONNECTED), so your patch seems good by assuming that we don't need to send a DISC for a DLC not connected. But there is still a good use for it to cancel the DLC connection attempt, so perhaps a better alternative would be to use a much shorter timeout in those cases. -- Luiz Augusto von Dentz Engenheiro de Computação -- 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