projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50c500a
)
wl1271: Fix debug prints for beacon-loss and psm-entry-fail scenarios
author
Juuso Oikarinen
<
[email protected]
>
Thu, 1 Apr 2010 08:38:23 +0000
(11:38 +0300)
committer
John W. Linville
<
[email protected]
>
Tue, 6 Apr 2010 20:55:14 +0000
(16:55 -0400)
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 <
[email protected]
>
Reviewed-by: Teemu Paasikivi <
[email protected]
>
Signed-off-by: Luciano Coelho <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/wl12xx/wl1271_event.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/wl12xx/wl1271_event.c
b/drivers/net/wireless/wl12xx/wl1271_event.c
index 4fc212a02a64ce38eea35607ccaae5ac9538f986..daacf176cf09d9ea9348a5b79004524c840eaa35 100644
(file)
--- 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,
ret = wl1271_ps_set_mode(wl, STATION_POWER_SAVE_MODE,
true);
} else {
- wl1271_
error("PSM entry failed, giving up.\n
");
+ wl1271_
info("No ack to nullfunc from AP.
");
wl->psm_entry_retry = 0;
*beacon_loss = true;
}
@@
-160,7
+160,7
@@
static int wl1271_event_process(struct wl1271 *wl, struct event_mailbox *mbox)
*
*/
if (vector & BSS_LOSE_EVENT_ID) {
- wl1271_
debug(DEBUG_EVENT, "BSS_LOSE_EVENT
");
+ wl1271_
info("Beacon loss detected.
");
/* indicate to the stack, that beacons have been lost */
beacon_loss = true;