selftests: nci: Fix the wrong condition
memcpy should be executed only in case nla_len's value is greater than 0. Signed-off-by: NBongsu Jeon <bongsu.jeon@samsung.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录