diff options
author | Joe Perches <joe@perches.com> | 2010-08-20 19:25:38 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-08-25 14:33:17 -0400 |
commit | 0fb9a9ec27718fbf7fa3153bc94becefb716ceeb (patch) | |
tree | 8f5d6a5fa9f2c6b8b08273dc198d6187d0a70361 /net/mac80211/ibss.c | |
parent | b62177a0aa0521fd07cd7501534c0c3b256ebce6 (diff) |
net/mac80211: Use wiphy_<level>
Standardize logging messages from
printk(KERN_<level> "%s: " fmt , wiphy_name(foo), args);
to
wiphy_<level>(foo, fmt, args);
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ibss.c')
-rw-r--r-- | net/mac80211/ibss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c index 32af97108425..1a3aae54f0cf 100644 --- a/net/mac80211/ibss.c +++ b/net/mac80211/ibss.c | |||
@@ -427,8 +427,8 @@ struct sta_info *ieee80211_ibss_add_sta(struct ieee80211_sub_if_data *sdata, | |||
427 | return NULL; | 427 | return NULL; |
428 | 428 | ||
429 | #ifdef CONFIG_MAC80211_VERBOSE_DEBUG | 429 | #ifdef CONFIG_MAC80211_VERBOSE_DEBUG |
430 | printk(KERN_DEBUG "%s: Adding new IBSS station %pM (dev=%s)\n", | 430 | wiphy_debug(local->hw.wiphy, "Adding new IBSS station %pM (dev=%s)\n", |
431 | wiphy_name(local->hw.wiphy), addr, sdata->name); | 431 | addr, sdata->name); |
432 | #endif | 432 | #endif |
433 | 433 | ||
434 | sta = sta_info_alloc(sdata, addr, gfp); | 434 | sta = sta_info_alloc(sdata, addr, gfp); |