diff options
author | Luciano Coelho <luciano.coelho@nokia.com> | 2009-06-12 07:17:53 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-10 14:57:50 -0400 |
commit | 47af3fe36dc478f7eddc8bec104ff1876d71f37c (patch) | |
tree | 5aa90bf23da20f961fa216dec58e5265cdbee657 /drivers/net/wireless/wl12xx | |
parent | 05fac682c2ca0c572d1bd8e6a38025838ddf0e68 (diff) |
wl1251: change psm enabled/disabled info to debug
With shorter CAM timeouts, the logs get flooded with "psm enabled" and "psm
disabled traces. This patch changes it from wl1251_info to wl1251_debug, so
they are only shown if DEBUF_PSM is enabled.
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Reviewed-by: Janne Ylalehto <janne.ylalehto@nokia.com>
Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1251_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_main.c b/drivers/net/wireless/wl12xx/wl1251_main.c index 11e1903aee6b..cf5e0549fa14 100644 --- a/drivers/net/wireless/wl12xx/wl1251_main.c +++ b/drivers/net/wireless/wl12xx/wl1251_main.c | |||
@@ -542,7 +542,7 @@ static int wl1251_op_config(struct ieee80211_hw *hw, u32 changed) | |||
542 | goto out_sleep; | 542 | goto out_sleep; |
543 | 543 | ||
544 | if (conf->flags & IEEE80211_CONF_PS && !wl->psm_requested) { | 544 | if (conf->flags & IEEE80211_CONF_PS && !wl->psm_requested) { |
545 | wl1251_info("psm enabled"); | 545 | wl1251_debug(DEBUG_PSM, "psm enabled"); |
546 | 546 | ||
547 | wl->psm_requested = true; | 547 | wl->psm_requested = true; |
548 | 548 | ||
@@ -554,7 +554,7 @@ static int wl1251_op_config(struct ieee80211_hw *hw, u32 changed) | |||
554 | ret = wl1251_ps_set_mode(wl, STATION_POWER_SAVE_MODE); | 554 | ret = wl1251_ps_set_mode(wl, STATION_POWER_SAVE_MODE); |
555 | } else if (!(conf->flags & IEEE80211_CONF_PS) && | 555 | } else if (!(conf->flags & IEEE80211_CONF_PS) && |
556 | wl->psm_requested) { | 556 | wl->psm_requested) { |
557 | wl1251_info("psm disabled"); | 557 | wl1251_debug(DEBUG_PSM, "psm disabled"); |
558 | 558 | ||
559 | wl->psm_requested = false; | 559 | wl->psm_requested = false; |
560 | 560 | ||