selftests: nci: Fix the wrong condition

memcpy should be executed only in case nla_len's value is greater than 0.

Signed-off-by: Bongsu Jeon <bongsu.jeon@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Bongsu Jeon 2021-08-17 06:28:15 -07:00 • committed by David S. Miller
commit 1d5b8d01db