aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>2010-02-22 01:38:34 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-03-09 15:03:02 -0500
commit18f8d468919da89185e2ab90cefa6c4a1936038e (patch)
tree8f46bfebb564ac65a8e744188942f6b807f405de /drivers
parent06f7bc7db79fabe6b2ec16eff0f59e4acc21eb72 (diff)
wl1271: Remove annoying PSM entry/exit kernel traces
Remove the annoying and dmesg-flooding WLAN PSM entry/exit traces. Instead, only output them if PSM traces are enabled. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Kalle Valo <kalle.valo@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c
index 184264a53b20..4d091ebd3403 100644
--- a/drivers/net/wireless/wl12xx/wl1271_main.c
+++ b/drivers/net/wireless/wl12xx/wl1271_main.c
@@ -1235,13 +1235,13 @@ static int wl1271_op_config(struct ieee80211_hw *hw, u32 changed)
1235 * through the bss_info_changed() hook. 1235 * through the bss_info_changed() hook.
1236 */ 1236 */
1237 if (test_bit(WL1271_FLAG_STA_ASSOCIATED, &wl->flags)) { 1237 if (test_bit(WL1271_FLAG_STA_ASSOCIATED, &wl->flags)) {
1238 wl1271_info("psm enabled"); 1238 wl1271_debug(DEBUG_PSM, "psm enabled");
1239 ret = wl1271_ps_set_mode(wl, STATION_POWER_SAVE_MODE, 1239 ret = wl1271_ps_set_mode(wl, STATION_POWER_SAVE_MODE,
1240 true); 1240 true);
1241 } 1241 }
1242 } else if (!(conf->flags & IEEE80211_CONF_PS) && 1242 } else if (!(conf->flags & IEEE80211_CONF_PS) &&
1243 test_bit(WL1271_FLAG_PSM_REQUESTED, &wl->flags)) { 1243 test_bit(WL1271_FLAG_PSM_REQUESTED, &wl->flags)) {
1244 wl1271_info("psm disabled"); 1244 wl1271_debug(DEBUG_PSM, "psm disabled");
1245 1245
1246 clear_bit(WL1271_FLAG_PSM_REQUESTED, &wl->flags); 1246 clear_bit(WL1271_FLAG_PSM_REQUESTED, &wl->flags);
1247 1247