Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net80211 don't print the interface name 2ice.



details:   https://anonhg.NetBSD.org/src/rev/ea7d0ac49314
branches:  trunk
changeset: 784633:ea7d0ac49314
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Feb 04 15:44:45 2013 +0000

description:
don't print the interface name 2ice.

diffstat:

 sys/net80211/ieee80211_netbsd.c |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (49 lines):

diff -r bc859d194748 -r ea7d0ac49314 sys/net80211/ieee80211_netbsd.c
--- a/sys/net80211/ieee80211_netbsd.c   Mon Feb 04 15:00:31 2013 +0000
+++ b/sys/net80211/ieee80211_netbsd.c   Mon Feb 04 15:44:45 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ieee80211_netbsd.c,v 1.22 2012/11/14 18:34:05 matt Exp $ */
+/* $NetBSD: ieee80211_netbsd.c,v 1.23 2013/02/04 15:44:45 christos Exp $ */
 /*-
  * Copyright (c) 2003-2005 Sam Leffler, Errno Consulting
  * All rights reserved.
@@ -30,7 +30,7 @@
 #ifdef __FreeBSD__
 __FBSDID("$FreeBSD: src/sys/net80211/ieee80211_freebsd.c,v 1.8 2005/08/08 18:46:35 sam Exp $");
 #else
-__KERNEL_RCSID(0, "$NetBSD: ieee80211_netbsd.c,v 1.22 2012/11/14 18:34:05 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee80211_netbsd.c,v 1.23 2013/02/04 15:44:45 christos Exp $");
 #endif
 
 /*
@@ -655,8 +655,8 @@
        struct ifnet *ifp = ic->ic_ifp;
        struct ieee80211_join_event iev;
 
-       IEEE80211_DPRINTF(ic, IEEE80211_MSG_NODE, "%s: %snode %s join\n",
-           ifp->if_xname, (ni == ic->ic_bss) ? "bss " : "",
+       IEEE80211_DPRINTF(ic, IEEE80211_MSG_NODE, "%snode %s join\n",
+           (ni == ic->ic_bss) ? "bss " : "",
            ether_sprintf(ni->ni_macaddr));
 
        memset(&iev, 0, sizeof(iev));
@@ -680,8 +680,8 @@
        struct ifnet *ifp = ic->ic_ifp;
        struct ieee80211_leave_event iev;
 
-       IEEE80211_DPRINTF(ic, IEEE80211_MSG_NODE, "%s: %snode %s leave\n",
-           ifp->if_xname, (ni == ic->ic_bss) ? "bss " : "",
+       IEEE80211_DPRINTF(ic, IEEE80211_MSG_NODE, "%snode %s leave\n",
+           (ni == ic->ic_bss) ? "bss " : "",
            ether_sprintf(ni->ni_macaddr));
 
        if (ni == ic->ic_bss) {
@@ -701,7 +701,7 @@
        struct ifnet *ifp = ic->ic_ifp;
 
        IEEE80211_DPRINTF(ic, IEEE80211_MSG_SCAN,
-               "%s: notify scan done\n", ic->ic_ifp->if_xname);
+               "%s", "notify scan done\n");
 
        /* dispatch wireless event indicating scan completed */
        rt_ieee80211msg(ifp, RTM_IEEE80211_SCAN, NULL, 0);



Home | Main Index | Thread Index | Old Index