NFC: Keep socket alive until the DISC PDU is actually sent
authorThierry Escande <thierry.escande@linux.intel.com>
Tue, 4 Jun 2013 09:34:51 +0000 (11:34 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 14 Jun 2013 11:45:05 +0000 (13:45 +0200)
This patch keeps the socket alive and therefore does not remove
it from the sockets list in the local until the DISC PDU has been
actually sent. Otherwise we would reply with DM PDUs before sending
the DISC one.

Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

No differences found