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: NSantosh Nayak <santoshprasadnayak@gmail.com>
Showing
想要评论请 注册 或 登录