ixgbe: Don't return error in flow control configuration if FC is off
authorPJ Waskiewicz <peter.p.waskiewicz.jr@intel.com>
Thu, 9 Apr 2009 22:27:39 +0000 (22:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Apr 2009 09:48:00 +0000 (02:48 -0700)
commitd3e9c56cafb98040c8601dcc784a773ac86da18b
treef30426aa7370e1d9cc62fbaaec5098c58740bffc
parente80e887a959ca41066412582c5f79aae5ffd5821
ixgbe: Don't return error in flow control configuration if FC is off

When flow control is disabled, an invalid low/high watermark configuration
should not matter.

Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_82598.c
drivers/net/ixgbe/ixgbe_common.c