Source-Changes-HG archive

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

[src-draft/trunk]: src/sys/net80211 Remove spurious (unconditional) debug pri...



details:   https://anonhg.NetBSD.org/src-all/rev/fe5fedcedac4
branches:  trunk
changeset: 375101:fe5fedcedac4
user:      Martin Husemann <martin%NetBSD.org@localhost>
date:      Mon Dec 14 16:39:56 2020 +0100

description:
Remove spurious (unconditional) debug printfs.

diffstat:

 sys/net80211/ieee80211_proto.c |  6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diffs (30 lines):

diff -r 5e84e2655b6e -r fe5fedcedac4 sys/net80211/ieee80211_proto.c
--- a/sys/net80211/ieee80211_proto.c    Mon Dec 14 15:56:13 2020 +0100
+++ b/sys/net80211/ieee80211_proto.c    Mon Dec 14 16:39:56 2020 +0100
@@ -301,10 +301,6 @@ ieee80211_proto_attach(struct ieee80211c
        ic->ic_protmode = IEEE80211_PROT_CTSONLY;
 
        TASK_INIT(&ic->ic_parent_task, 0, parent_updown, ic);
-       printf ("parent task: t_work.wk_dummy 0x%lx, t_func 0x%lx t_arg 0x%lx\n",
-               (long)(ic->ic_parent_task.t_work.wk_dummy),
-               (long)(ic->ic_parent_task.t_func),
-               (long)(ic->ic_parent_task.t_arg));
        TASK_INIT(&ic->ic_mcast_task, 0, update_mcast, ic);
        TASK_INIT(&ic->ic_promisc_task, 0, update_promisc, ic);
        TASK_INIT(&ic->ic_chan_task, 0, update_channel, ic);
@@ -1510,7 +1506,6 @@ parent_updown(void *arg, int npending)
 {
        struct ieee80211com *ic = arg;
 
-       printf ("parent_updown called on %s!\n", ic->ic_name);
        ic->ic_parent(ic);
 }
 
@@ -1704,7 +1699,6 @@ ieee80211_start_locked(struct ieee80211v
                                ieee80211_new_state_locked(vap,
                                    IEEE80211_S_SCAN, 0);
                } else {
-                       printf ("   first vap??? \n");
                        /*
                         * For monitor+wds mode there's nothing to do but
                         * start running.  Otherwise if this is the first



Home | Main Index | Thread Index | Old Index