aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r--net/mac80211/iface.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index 86f434f234ae..9369710cc65b 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -1175,8 +1175,7 @@ static u32 ieee80211_idle_off(struct ieee80211_local *local,
1175 return 0; 1175 return 0;
1176 1176
1177#ifdef CONFIG_MAC80211_VERBOSE_DEBUG 1177#ifdef CONFIG_MAC80211_VERBOSE_DEBUG
1178 printk(KERN_DEBUG "%s: device no longer idle - %s\n", 1178 wiphy_debug(local->hw.wiphy, "device no longer idle - %s\n", reason);
1179 wiphy_name(local->hw.wiphy), reason);
1180#endif 1179#endif
1181 1180
1182 local->hw.conf.flags &= ~IEEE80211_CONF_IDLE; 1181 local->hw.conf.flags &= ~IEEE80211_CONF_IDLE;
@@ -1189,8 +1188,7 @@ static u32 ieee80211_idle_on(struct ieee80211_local *local)
1189 return 0; 1188 return 0;
1190 1189
1191#ifdef CONFIG_MAC80211_VERBOSE_DEBUG 1190#ifdef CONFIG_MAC80211_VERBOSE_DEBUG
1192 printk(KERN_DEBUG "%s: device now idle\n", 1191 wiphy_debug(local->hw.wiphy, "device now idle\n");
1193 wiphy_name(local->hw.wiphy));
1194#endif 1192#endif
1195 1193
1196 drv_flush(local, false); 1194 drv_flush(local, false);