From: Johannes Berg <johannes@sipsolutions.net>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: linux-wireless <linux-wireless@vger.kernel.org>,
Jiri Benc <jbenc@suse.cz>
Subject: [PATCH] mac80211: kill useless scan printks
Date: Thu, 12 Apr 2007 02:56:39 +0200 [thread overview]
Message-ID: <1176339399.3579.8.camel@johannes.berg> (raw)
This patch removes the "starting scan" and "scan completed"
messages that mac80211 prints all the time.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
We should probably remove more but I find these most annoying. You ought
to know when you start a scan, and you get an iwevent when it
finishes...
net/mac80211/ieee80211_sta.c | 3 ---
1 file changed, 3 deletions(-)
--- wireless-dev.orig/net/mac80211/ieee80211_sta.c 2007-04-11 18:00:23.469481358 +0200
+++ wireless-dev/net/mac80211/ieee80211_sta.c 2007-04-11 18:02:02.829481358 +0200
@@ -2558,7 +2558,6 @@ void ieee80211_scan_completed(struct iee
struct ieee80211_sub_if_data *sdata;
union iwreq_data wrqu;
- printk(KERN_DEBUG "%s: scan completed\n", dev->name);
local->last_scan_completed = jiffies;
wmb();
local->sta_scanning = 0;
@@ -2703,8 +2702,6 @@ static int ieee80211_sta_start_scan(stru
return -EBUSY;
}
- printk(KERN_DEBUG "%s: starting scan\n", dev->name);
-
if (local->ops->hw_scan) {
int rc = local->ops->hw_scan(local_to_hw(local),
ssid, ssid_len);
reply other threads:[~2007-04-12 8:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1176339399.3579.8.camel@johannes.berg \
--to=johannes@sipsolutions.net \
--cc=jbenc@suse.cz \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox