Skip to content
Commit e1046841 authored by Tong Zhang's avatar Tong Zhang Committed by David S. Miller
Browse files

net: caif: fix error code handling



cfpkt_peek_head return 0 and 1, caller is checking error using <0

Signed-off-by: default avatarTong Zhang <ztong0001@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8e4efd47
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