summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-10-24 17:19:02 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-12-06 21:31:06 -0800
commitf8ebc68373a891310fe64726940e245cf307d172 (patch)
tree970b274c2bf7df824a08d76ae1e4bee613a88898 /drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c
parentb93196dc5af7729ff7cc50d3d322ab1a364aa14f (diff)
downloadlinux-stable-f8ebc68373a891310fe64726940e245cf307d172.tar.gz
linux-stable-f8ebc68373a891310fe64726940e245cf307d172.tar.bz2
linux-stable-f8ebc68373a891310fe64726940e245cf307d172.zip
ixgbe: Use is_valid_ether_addr
Use the normal kernel test instead of a module specific one. Signed-off-by: Joe Perches <joe@perches.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c')
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c
index de4da5219b71..c73b92993391 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c
@@ -152,7 +152,7 @@ mac_reset_top:
hw->mac.ops.get_san_mac_addr(hw, hw->mac.san_addr);
/* Add the SAN MAC address to the RAR only if it's a valid address */
- if (ixgbe_validate_mac_addr(hw->mac.san_addr) == 0) {
+ if (is_valid_ether_addr(hw->mac.san_addr)) {
hw->mac.ops.set_rar(hw, hw->mac.num_rar_entries - 1,
hw->mac.san_addr, 0, IXGBE_RAH_AV);