summaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_crypto.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2005-09-08 09:11:09 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2005-09-08 09:11:09 +0000
commit79452849f82a8546be085ead11cf29040d5f8bf5 (patch)
tree376d77bf3a94b5263f7d6d8e54e31d4979bae981 /sys/net80211/ieee80211_crypto.c
parente0760aa1f2f31cd631558ffc103464a909c4db94 (diff)
Remove FreeBSD if_printf compat function from net80211.
ok reyk@
Diffstat (limited to 'sys/net80211/ieee80211_crypto.c')
-rw-r--r--sys/net80211/ieee80211_crypto.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_crypto.c b/sys/net80211/ieee80211_crypto.c
index 70a42d5d2ee..1d51df1ce9a 100644
--- a/sys/net80211/ieee80211_crypto.c
+++ b/sys/net80211/ieee80211_crypto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_crypto.c,v 1.4 2005/09/07 05:40:11 jsg Exp $ */
+/* $OpenBSD: ieee80211_crypto.c,v 1.5 2005/09/08 09:11:08 jsg Exp $ */
/* $NetBSD: ieee80211_crypto.c,v 1.5 2003/12/14 09:56:53 dyoung Exp $ */
/*-
@@ -261,7 +261,8 @@ ieee80211_wep_crypt(struct ifnet *ifp, struct mbuf *m0, int txflag)
if (crc != letoh32(*(u_int32_t *)crcbuf)) {
#ifdef IEEE80211_DEBUG
if (ieee80211_debug) {
- if_printf(ifp, "decrypt CRC error\n");
+ printf("%s: decrypt CRC error\n",
+ ifp->if_xname);
if (ieee80211_debug > 1)
ieee80211_dump_pkt(n0->m_data,
n0->m_len, -1, -1);