net: caif: fix erroneous return value
authorAnton Protopopov <a.s.protopopov@gmail.com>
Wed, 17 Feb 2016 15:54:13 +0000 (10:54 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2016 19:59:35 +0000 (14:59 -0500)
commit449f14f01f65f45f332e3360aa46b3d3571b2cba
tree55019be988c3d774b2540849d88071934da5634c
parent48bb230e8723d7dd87928f0c0c3f6cb1fd5bc9be
net: caif: fix erroneous return value

The cfrfml_receive() function might return positive value EPROTO

Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/cfrfml.c