OSDN Git Service

nfc: llcp: Revert "NFC: Keep socket alive until the DISC PDU is actually sent"
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Wed, 2 Mar 2022 19:25:23 +0000 (20:25 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Mar 2022 10:43:37 +0000 (10:43 +0000)
commit44cd5765495b30bc2527463f4a4b8c028e11535b
treef25b8c831867529c09c72c472d67e6d75b1ccc6a
parenta06b8044169f6d5c3eb34772c13d2c0c1b205352
nfc: llcp: Revert "NFC: Keep socket alive until the DISC PDU is actually sent"

This reverts commit 17f7ae16aef1f58bc4af4c7a16b8778a91a30255.

The commit brought a new socket state LLCP_DISCONNECTING, which was
never set, only read, so socket could never set to such state.

Remove the dead code.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/nfc/llcp.h
net/nfc/llcp_core.c
net/nfc/llcp_sock.c