summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271.h
diff options
context:
space:
mode:
authorJuuso Oikarinen2009-12-11 14:41:00 +0100
committerJohn W. Linville2009-12-28 22:31:34 +0100
commitaf5e084b3200ab6e3033068a34fe16fd139be17b (patch)
tree8ccb0cb06f65cced58c852cb1cd23807e3d503fa /drivers/net/wireless/wl12xx/wl1271.h
parentwl1271: Fix event acknowledging functionality (diff)
downloadkernel-qcow2-linux-af5e084b3200ab6e3033068a34fe16fd139be17b.tar.gz
kernel-qcow2-linux-af5e084b3200ab6e3033068a34fe16fd139be17b.tar.xz
kernel-qcow2-linux-af5e084b3200ab6e3033068a34fe16fd139be17b.zip
wl1271: prevent power save entry while not associated
The mac80211 sometimes requests power save entry while not associated - this will cause problems, so prevent it if not associated. Go to powersave once association is complete. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271.h')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271.h b/drivers/net/wireless/wl12xx/wl1271.h
index 4b5ddba96f0b..81e1c9531a3a 100644
--- a/drivers/net/wireless/wl12xx/wl1271.h
+++ b/drivers/net/wireless/wl12xx/wl1271.h
@@ -416,6 +416,7 @@ struct wl1271 {
/* PSM mode requested */
bool psm_requested;
+ bool associated;
/* retry counter for PSM entries */
u8 psm_entry_retry;