diff options
author | Thierry Escande <thierry.escande@linux.intel.com> | 2013-06-04 11:34:51 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-06-14 13:45:05 +0200 |
commit | 17f7ae16aef1f58bc4af4c7a16b8778a91a30255 (patch) | |
tree | 02ee0a69207c231a5bd3939ccee7021cbbaddd65 /net/nfc/llcp.h | |
parent | NFC: Rename nfc_llcp_disconnect() to nfc_llcp_send_disconnect() (diff) | |
download | linux-17f7ae16aef1f58bc4af4c7a16b8778a91a30255.tar.xz linux-17f7ae16aef1f58bc4af4c7a16b8778a91a30255.zip |
NFC: Keep socket alive until the DISC PDU is actually sent
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>
Diffstat (limited to 'net/nfc/llcp.h')
-rw-r--r-- | net/nfc/llcp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/nfc/llcp.h b/net/nfc/llcp.h index ac16ebe3069d..71f649e5ef49 100644 --- a/net/nfc/llcp.h +++ b/net/nfc/llcp.h @@ -19,6 +19,7 @@ enum llcp_state { LLCP_CONNECTED = 1, /* wait_for_packet() wants that */ + LLCP_DISCONNECTING, LLCP_CLOSED, LLCP_BOUND, LLCP_LISTEN, |