Re: [PATCH 3/4] nfc: Do not send datagram if socket state isn't LLCP_BOUND

From: Krzysztof Kozlowski
Date: Mon Nov 27 2023 - 05:55:09 EST


On 25/11/2023 21:26, Siddh Raman Pant wrote:
> As we know we cannot send the datagram (state can be set to LLCP_CLOSED
> by nfc_llcp_socket_release()), there is no need to proceed further.
>
> Thus, bail out early from llcp_sock_sendmsg().
>
> Signed-off-by: Siddh Raman Pant <code@xxxxxxxx>


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>


Best regards,
Krzysztof