Convert the old ether_addr tests to eth_addr_<foo>.
Adds api consistency.

Signed-off-by: Joe Perches <j...@perches.com>
---
 include/net/llc_if.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/net/llc_if.h b/include/net/llc_if.h
index b595a00..cce2942 100644
--- a/include/net/llc_if.h
+++ b/include/net/llc_if.h
@@ -71,12 +71,12 @@
  */
 static inline int llc_mac_null(const u8 *mac)
 {
-       return is_zero_ether_addr(mac);
+       return eth_addr_zero(mac);
 }
 
 static inline int llc_mac_multicast(const u8 *mac)
 {
-       return is_multicast_ether_addr(mac);
+       return eth_addr_multicast(mac);
 }
 /**
  *     llc_mac_match - determines if two mac addresses are the same
-- 
1.7.8.111.gad25c.dirty

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to