diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2016-02-07 23:36:44 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2016-02-07 23:36:44 +0000 |
commit | 9746f1adee393c493f2fa78ad31a8789dcb9e1fd (patch) | |
tree | 041cf27cc4d105d5abe1b575d6d9a30936aca2a4 /sys/net80211 | |
parent | 033a069296f3301ffd9fff1d4480f73e2c05e2e2 (diff) |
Hide some excessive net80211 debug printfs behind ieee80211_debug >= 2.
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_input.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c index 6db5e492915..a2be77453dd 100644 --- a/sys/net80211/ieee80211_input.c +++ b/sys/net80211/ieee80211_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_input.c,v 1.158 2016/02/05 19:42:04 stsp Exp $ */ +/* $OpenBSD: ieee80211_input.c,v 1.159 2016/02/07 23:36:43 stsp Exp $ */ /*- * Copyright (c) 2001 Atsushi Onoe @@ -192,7 +192,7 @@ ieee80211_input_print(struct ieee80211com *ic, struct ifnet *ifp, break; } #ifdef IEEE80211_DEBUG - doprint += ieee80211_debug; + doprint += (ieee80211_debug > 1); #endif if (!doprint) return; @@ -1556,7 +1556,7 @@ ieee80211_recv_probe_resp(struct ieee80211com *ic, struct mbuf *m, return; #ifdef IEEE80211_DEBUG - if (ieee80211_debug && + if (ieee80211_debug > 1 && (ni == NULL || ic->ic_state == IEEE80211_S_SCAN)) { printf("%s: %s%s on chan %u (bss chan %u) ", __func__, (ni == NULL ? "new " : ""), |