Skip to content
Commit 89362210 authored by Petko Manolov's avatar Petko Manolov Committed by Greg Kroah-Hartman
Browse files

net: usb: pegasus: fixes of set_register(s) return value evaluation;

[ Upstream commit ffc9c3eb ]

- restore the behavior in enable_net_traffic() to avoid regressions - Jakub
    Kicinski;
  - hurried up and removed redundant assignment in pegasus_open() before yet
    another checker complains;

Fixes: 8a160e2e

 ("net: usb: pegasus: Check the return value of get_geristers() and friends;")
Reported-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarPetko Manolov <petko.manolov@konsulko.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 2b026711
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment