Commit ed3b856b authored by Committed by David S. MillerBrowse files
netxen: Error return off by one for XG port.
There are NETXEN_NIU_MAX_XG_PORTS ports. Port indexing starts from zero. Hence we should also return error for 'port == NETXEN_NIU_MAX_XG_PORTS'. Signed-off-by: Santosh Nayak <firstname.lastname@example.org>
Showing with 4 additions and 4 deletions