Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d8140b2f authored by Santosh Nayak's avatar Santosh Nayak Committed by David S. Miller
Browse files

netxen: Error return off by one in 'netxen_nic_set_pauseparam()'.



There are 'NETXEN_NIU_MAX_GBE_PORTS'  GBE ports. Port indexing starts
from zero.
Hence we should also return error for "port == NETXEN_NIU_MAX_GBE_PORTS"

Signed-off-by: default avatarSantosh Nayak <santoshprasadnayak@gmail.com>
parent 7011d085
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