summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2006-06-18 18:55:28 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2006-06-18 18:55:28 +0000
commit388c12221a28dda55eb212f522e69eea0b642517 (patch)
tree7b769cff0d2413748cefa4855907af050bf45645
parentce9d7316d9fd1b1e65ddb9109f5e0490aca171fa (diff)
s/memcmp/IEEE80211_ADDR_EQ/
-rw-r--r--sys/net80211/ieee80211_input.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c
index 303df489c72..e7b8545d23a 100644
--- a/sys/net80211/ieee80211_input.c
+++ b/sys/net80211/ieee80211_input.c
@@ -1,5 +1,5 @@
/* $NetBSD: ieee80211_input.c,v 1.24 2004/05/31 11:12:24 dyoung Exp $ */
-/* $OpenBSD: ieee80211_input.c,v 1.16 2006/06/18 18:39:41 damien Exp $ */
+/* $OpenBSD: ieee80211_input.c,v 1.17 2006/06/18 18:55:27 damien Exp $ */
/*-
* Copyright (c) 2001 Atsushi Onoe
@@ -1667,8 +1667,7 @@ ieee80211_ibss_merge(struct ieee80211com *ic, struct ieee80211_node *ni,
else
sign = 1;
- if (memcmp(ni->ni_bssid, ic->ic_bss->ni_bssid,
- IEEE80211_ADDR_LEN) == 0) {
+ if (IEEE80211_ADDR_EQ(ni->ni_bssid, ic->ic_bss->ni_bssid)) {
if (!ieee80211_do_slow_print(ic, &did_print))
return 0;
printf("%s: tsft offset %s%llu\n", ic->ic_if.if_xname,