[IrDA]: Fix Rx/Tx path race.
authorG. Liakhovetski <gl@dsa-ac.de>
Sat, 9 Jun 2007 02:15:17 +0000 (19:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Jun 2007 02:15:17 +0000 (19:15 -0700)
From: G. Liakhovetski <gl@dsa-ac.de>

We need to switch to NRM _before_ sending the final packet otherwise
we might hit a race condition where we get the first packet from the
peer while we're still in LAP_XMIT_P.

Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found