Skip to content

Commit

Permalink
wl1251: change psm enabled/disabled info to debug
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luciano Coelho authored and John W. Linville committed Jul 10, 2009
1 parent 05fac68 commit 47af3fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/wl12xx/wl1251_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ static int wl1251_op_config(struct ieee80211_hw *hw, u32 changed)
goto out_sleep;

if (conf->flags & IEEE80211_CONF_PS && !wl->psm_requested) {
wl1251_info("psm enabled");
wl1251_debug(DEBUG_PSM, "psm enabled");

wl->psm_requested = true;

Expand All @@ -554,7 +554,7 @@ static int wl1251_op_config(struct ieee80211_hw *hw, u32 changed)
ret = wl1251_ps_set_mode(wl, STATION_POWER_SAVE_MODE);
} else if (!(conf->flags & IEEE80211_CONF_PS) &&
wl->psm_requested) {
wl1251_info("psm disabled");
wl1251_debug(DEBUG_PSM, "psm disabled");

wl->psm_requested = false;

Expand Down

0 comments on commit 47af3fe

Please sign in to comment.