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 old debugging output.
details: https://anonhg.NetBSD.org/src-all/rev/8bcc1fa808de
branches: trunk
changeset: 361875:8bcc1fa808de
user: Martin Husemann <martin%NetBSD.org@localhost>
date: Sat Dec 19 17:21:03 2020 +0100
description:
Remove old debugging output.
diffstat:
sys/net80211/ieee80211_adhoc.c | 3 ---
sys/net80211/ieee80211_ioctl.c | 3 ---
sys/net80211/ieee80211_netbsd.c | 4 ++--
sys/net80211/ieee80211_node.c | 2 --
sys/net80211/ieee80211_scan.c | 1 -
sys/net80211/ieee80211_scan_sta.c | 17 -----------------
sys/net80211/ieee80211_sta.c | 2 +-
sys/net80211/ieee80211_vht.c | 3 ---
8 files changed, 3 insertions(+), 32 deletions(-)
diffs (150 lines):
diff -r d19098b4330f -r 8bcc1fa808de sys/net80211/ieee80211_adhoc.c
--- a/sys/net80211/ieee80211_adhoc.c Sat Dec 19 16:50:34 2020 +0100
+++ b/sys/net80211/ieee80211_adhoc.c Sat Dec 19 17:21:03 2020 +0100
@@ -335,8 +335,6 @@
uint8_t *bssid;
int is_hw_decrypted = 0;
int has_decrypted = 0;
-
- printf ("adhoc input called for %s\n", ifp->if_xname); // NNN
/*
* Some devices do hardware decryption all the way through
@@ -728,7 +726,6 @@
#if 0
int ht_state_change = 0;
#endif
- printf ("adhoc_recv_mgmt called, for %s\n", vap->iv_ifp->if_xname);
wh = mtod(m0, struct ieee80211_frame *);
frm = (uint8_t *)&wh[1];
diff -r d19098b4330f -r 8bcc1fa808de sys/net80211/ieee80211_ioctl.c
--- a/sys/net80211/ieee80211_ioctl.c Sat Dec 19 16:50:34 2020 +0100
+++ b/sys/net80211/ieee80211_ioctl.c Sat Dec 19 17:21:03 2020 +0100
@@ -920,7 +920,6 @@
return error;
}
#else
- printf ("ieee80211_ioctl_getdefault called\n");
error = dummy_ioctl_get(vap, ireq);
#endif
return error;
@@ -2905,8 +2904,6 @@
if (error != ENOSYS)
return error;
}
-#else
- printf ("ieee80211_ioctl_setdefault called\n");
#endif
return EINVAL;
}
diff -r d19098b4330f -r 8bcc1fa808de sys/net80211/ieee80211_netbsd.c
--- a/sys/net80211/ieee80211_netbsd.c Sat Dec 19 16:50:34 2020 +0100
+++ b/sys/net80211/ieee80211_netbsd.c Sat Dec 19 17:21:03 2020 +0100
@@ -254,7 +254,7 @@
void
ieee80211_vap_destroy(struct ieee80211vap *vap)
{
- printf("ieee80211_vap_destroy called\n");
+
wlan_clone_destroy(vap->iv_ifp);
}
@@ -982,7 +982,7 @@
notify_macaddr(struct ifnet *ifp, int op, const uint8_t mac[IEEE80211_ADDR_LEN])
{
struct ieee80211_join_event iev;
- printf ("NNN notify_macaddr called\n");
+
CURVNET_SET(ifp->if_vnet);
memset(&iev, 0, sizeof(iev));
IEEE80211_ADDR_COPY(iev.iev_addr, mac);
diff -r d19098b4330f -r 8bcc1fa808de sys/net80211/ieee80211_node.c
--- a/sys/net80211/ieee80211_node.c Sat Dec 19 16:50:34 2020 +0100
+++ b/sys/net80211/ieee80211_node.c Sat Dec 19 17:21:03 2020 +0100
@@ -950,8 +950,6 @@
/* XXX msg */
return 0;
}
-
- printf ("ieee80211_sta_join called.\n");
/*
* Expand scan state into node's format.
diff -r d19098b4330f -r 8bcc1fa808de sys/net80211/ieee80211_scan.c
--- a/sys/net80211/ieee80211_scan.c Sat Dec 19 16:50:34 2020 +0100
+++ b/sys/net80211/ieee80211_scan.c Sat Dec 19 17:21:03 2020 +0100
@@ -394,7 +394,6 @@
u_int duration, u_int mindwell, u_int maxdwell,
u_int nssid, const struct ieee80211_scan_ssid ssids[])
{
- printf ("ieee80211_check_scan called, opmode is %d\n", vap->iv_opmode);
struct ieee80211com *ic = vap->iv_ic;
struct ieee80211_scan_state *ss = ic->ic_scan;
const struct ieee80211_scanner *scan;
diff -r d19098b4330f -r 8bcc1fa808de sys/net80211/ieee80211_scan_sta.c
--- a/sys/net80211/ieee80211_scan_sta.c Sat Dec 19 16:50:34 2020 +0100
+++ b/sys/net80211/ieee80211_scan_sta.c Sat Dec 19 17:21:03 2020 +0100
@@ -1038,13 +1038,6 @@
{
int i;
-#ifdef IEEE80211_DEBUG
- char temp[40];
- strcpy(temp, ether_sprintf(ie));
- printf ("match_ssid called: %s vs %s\n", temp,
- ether_sprintf(ssids[0].ssid));
-#endif
-
for (i = 0; i < nssid; i++) {
if (match_id(ie, ssids[i].ssid, ssids[i].len))
return 1;
@@ -1321,16 +1314,6 @@
struct ieee80211_channel *chan;
KASSERT(ss != NULL && vap != NULL);
-#ifdef IEEE80211_DEBUG
- { int i;
- printf ("sta_pick_bss called. vap des_ssid %s, scan ssids:",
- ether_sprintf(vap->iv_des_ssid[0].ssid));
- for (i=0; i < ss->ss_nssid; i++)
- printf ("%s, ", ether_sprintf(ss->ss_ssid[i].ssid));
- printf ("\n");
- }
-#endif
-
KASSERTMSG(vap->iv_opmode == IEEE80211_M_STA,
"wrong mode %u", vap->iv_opmode);
diff -r d19098b4330f -r 8bcc1fa808de sys/net80211/ieee80211_sta.c
--- a/sys/net80211/ieee80211_sta.c Sat Dec 19 16:50:34 2020 +0100
+++ b/sys/net80211/ieee80211_sta.c Sat Dec 19 17:21:03 2020 +0100
@@ -115,7 +115,7 @@
static void
sta_vattach(struct ieee80211vap *vap)
{
- printf ("sta_vattach\n");
+
vap->iv_newstate = sta_newstate;
vap->iv_input = sta_input;
vap->iv_recv_mgmt = sta_recv_mgmt;
diff -r d19098b4330f -r 8bcc1fa808de sys/net80211/ieee80211_vht.c
--- a/sys/net80211/ieee80211_vht.c Sat Dec 19 16:50:34 2020 +0100
+++ b/sys/net80211/ieee80211_vht.c Sat Dec 19 17:21:03 2020 +0100
@@ -312,8 +312,6 @@
const uint8_t *vhtop_ie)
{
- //printf("%s: called\n", __func__);
-
ieee80211_parse_vhtcap(ni, vhtcap_ie);
ieee80211_parse_vhtopmode(ni, vhtop_ie);
return (0);
@@ -325,7 +323,6 @@
const uint8_t *vhtop_ie)
{
- //printf("%s: called\n", __func__);
/* XXX TODO */
}
Home |
Main Index |
Thread Index |
Old Index