NFC: nci: Extend virtual NCI deinit test
authorDmitry Vyukov <dvyukov@google.com>
Thu, 17 Nov 2022 16:21:01 +0000 (17:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Nov 2022 10:49:58 +0000 (10:49 +0000)
commitd9e8da558580513318a36f4ecb1b6e28e41b4de0
tree01e475fcfa3404623721c67d1b6c64c71e3b1996
parent148b1da88605bd8e357fa3f8f4d5e3a8eccff3c5
NFC: nci: Extend virtual NCI deinit test

Extend the test to check the scenario when NCI core tries to send data
to already closed device to ensure that nothing bad happens.

Signed-off-by: Dmitry Vyukov <dvyukov@google.com>
Cc: Bongsu Jeon <bongsu.jeon@samsung.com>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/nci/nci_dev.c