Skip to content
Commit 1d5b8d01 authored by Bongsu Jeon's avatar Bongsu Jeon Committed by David S. Miller
Browse files

selftests: nci: Fix the wrong condition



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

Signed-off-by: default avatarBongsu Jeon <bongsu.jeon@samsung.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 78a7b2a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment