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:
cae6247
)
wl1251: always report beacon loss to the stack
author
Grazvydas Ignotas
<
[email protected]
>
Sat, 16 Jun 2012 19:26:47 +0000
(22:26 +0300)
committer
John W. Linville
<
[email protected]
>
Wed, 20 Jun 2012 18:10:24 +0000
(14:10 -0400)
Always report beacon loss to the stack, not only when in powersave
state. This is because there's possibility that the driver disables
PSM before it handles old BSS_LOSE_EVENT, so beacon loss has to be
reported.
Patch based on old maemo patch by:
Janne Ylalehto <
[email protected]
>
Juuso Oikarinen <
[email protected]
>
Luciano Coelho <
[email protected]
>
Yuri Ershov <
[email protected]
>
Signed-off-by: Grazvydas Ignotas <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/ti/wl1251/event.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ti/wl1251/event.c
b/drivers/net/wireless/ti/wl1251/event.c
index 9f15ccaf8f05aec733882e98a3ff443fdb5737d0..5ec50a476a69c084ccba378813db16fca7087db1 100644
(file)
--- a/
drivers/net/wireless/ti/wl1251/event.c
+++ b/
drivers/net/wireless/ti/wl1251/event.c
@@
-76,8
+76,7
@@
static int wl1251_event_process(struct wl1251 *wl, struct event_mailbox *mbox)
}
}
- if (vector & SYNCHRONIZATION_TIMEOUT_EVENT_ID &&
- wl->station_mode != STATION_ACTIVE_MODE) {
+ if (vector & SYNCHRONIZATION_TIMEOUT_EVENT_ID) {
wl1251_debug(DEBUG_EVENT, "SYNCHRONIZATION_TIMEOUT_EVENT");
/* indicate to the stack, that beacons have been lost */