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 left over debug output



details:   https://anonhg.NetBSD.org/src-all/rev/997b2eca5c13
branches:  trunk
changeset: 361885:997b2eca5c13
user:      Martin Husemann <martin%NetBSD.org@localhost>
date:      Sat Jan 02 12:52:37 2021 +0100

description:
Remove left over debug output

diffstat:

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

diffs (49 lines):

diff -r db3d98214404 -r 997b2eca5c13 sys/net80211/ieee80211_ioctl.c
--- a/sys/net80211/ieee80211_ioctl.c    Wed Dec 30 18:33:29 2020 +0100
+++ b/sys/net80211/ieee80211_ioctl.c    Sat Jan 02 12:52:37 2021 +0100
@@ -445,8 +445,6 @@
        if (sr->isr_nrates > 15)
                sr->isr_nrates = 15;
 
-       printf ("old_get_scan_results: ssid=%.*s\n", se->se_ssid[1], &se->se_ssid[2]);
-
        /* copy SSID */
        sr->isr_ssid_len = se->se_ssid[1];
        cp = ((uint8_t *)sr) + sizeof(struct old_ieee80211req_scan_result);
@@ -3206,7 +3204,6 @@
        case OLD_IEEE80211_IOC_SCAN_REQ:
                IEEE80211_DPRINTF(vap, IEEE80211_MSG_SCAN,
                        "%s: active scan request\n", __func__);
-               printf ("old scan req\n");
                /*
                 * If we are in INIT state then the driver has never
                 * had a chance to setup hardware state to do a scan;
@@ -3215,11 +3212,8 @@
                 * a one-time scan.
                 */
                if (vap->iv_state == IEEE80211_S_INIT)
-{  printf ("calling new_state\n");
                        ieee80211_new_state(vap, IEEE80211_S_SCAN, 0);
-}
                else
-{  printf("calling _start_scan()\n");
                        (void) ieee80211_start_scan(vap,
                                IEEE80211_SCAN_ACTIVE |
                                IEEE80211_SCAN_NOPICK |
@@ -3227,7 +3221,6 @@
                                IEEE80211_SCAN_FOREVER, 0, 0,
                                /* XXX use ioctl params */
                                vap->iv_des_nssid, vap->iv_des_ssid);
-}
                break;
 #endif /* OLD_IEEE80211_IOC_SCAN_REQ */
        case IEEE80211_IOC_SCAN_REQ:
@@ -3810,8 +3803,6 @@
                            !IEEE80211_ADDR_EQ(vap->iv_myaddr, IF_LLADDR(ifp))) {
                                IEEE80211_ADDR_COPY(vap->iv_myaddr,
                                    IF_LLADDR(ifp));
-                               printf ("vap->iv_myaddr changed in ioctl to %s\n",
-                                       ether_sprintf(vap->iv_myaddr));
                        }
 
                        NET_EPOCH_EXIT(et);



Home | Main Index | Thread Index | Old Index