diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2010-04-01 04:38:23 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-06 16:55:14 -0400 |
commit | 1a186a515a1e4446cdde2b4341dc361ba6bc76ed (patch) | |
tree | bf5d143a91eb630b1806f1cc714a67886e96fe01 | |
parent | 50c500ad3da49f866628d60d49645f4f8f4ff92c (diff) |
wl1271: Fix debug prints for beacon-loss and psm-entry-fail scenarios
Remove ERROR print from psm-entry-fail scenario, instead use an INFO print.
Also, add INFO print to the beacon-loss scenario.
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_event.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_event.c b/drivers/net/wireless/wl12xx/wl1271_event.c index 4fc212a02a64..daacf176cf09 100644 --- a/drivers/net/wireless/wl12xx/wl1271_event.c +++ b/drivers/net/wireless/wl12xx/wl1271_event.c | |||
@@ -81,7 +81,7 @@ static int wl1271_event_ps_report(struct wl1271 *wl, | |||
81 | ret = wl1271_ps_set_mode(wl, STATION_POWER_SAVE_MODE, | 81 | ret = wl1271_ps_set_mode(wl, STATION_POWER_SAVE_MODE, |
82 | true); | 82 | true); |
83 | } else { | 83 | } else { |
84 | wl1271_error("PSM entry failed, giving up.\n"); | 84 | wl1271_info("No ack to nullfunc from AP."); |
85 | wl->psm_entry_retry = 0; | 85 | wl->psm_entry_retry = 0; |
86 | *beacon_loss = true; | 86 | *beacon_loss = true; |
87 | } | 87 | } |
@@ -160,7 +160,7 @@ static int wl1271_event_process(struct wl1271 *wl, struct event_mailbox *mbox) | |||
160 | * | 160 | * |
161 | */ | 161 | */ |
162 | if (vector & BSS_LOSE_EVENT_ID) { | 162 | if (vector & BSS_LOSE_EVENT_ID) { |
163 | wl1271_debug(DEBUG_EVENT, "BSS_LOSE_EVENT"); | 163 | wl1271_info("Beacon loss detected."); |
164 | 164 | ||
165 | /* indicate to the stack, that beacons have been lost */ | 165 | /* indicate to the stack, that beacons have been lost */ |
166 | beacon_loss = true; | 166 | beacon_loss = true; |