summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/dev.h
diff options
context:
space:
mode:
authorLuis Carlos Cobo <luisca@cozybit.com>2007-08-02 19:16:02 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-11 01:50:11 +0200
commitd21b31fd53626f9c1d14fc676793dbe86b44d1c6 (patch)
tree3c5179f383c89bdffecd48565d7b38ed7db9e12c /drivers/net/wireless/libertas/dev.h
parent[PATCH] libertas: revert CAPINFO_MASK to its original value (diff)
downloadlinux-d21b31fd53626f9c1d14fc676793dbe86b44d1c6.tar.xz
linux-d21b31fd53626f9c1d14fc676793dbe86b44d1c6.zip
[PATCH] libertas: keep mesh autostart enabled while asleep
After loading the firmware, mesh autostart will be disabled. After that, the user will still be able to enable or disable it at will. On suspend, it will be always activated and later on resume it will go back to the state it had before going to sleep. Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/dev.h')
-rw-r--r--drivers/net/wireless/libertas/dev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/dev.h b/drivers/net/wireless/libertas/dev.h
index f6b1402509f5..397c5fca0ff5 100644
--- a/drivers/net/wireless/libertas/dev.h
+++ b/drivers/net/wireless/libertas/dev.h
@@ -103,6 +103,7 @@ struct _wlan_private {
int open;
int mesh_open;
int infra_open;
+ int mesh_autostart_enabled;
char name[DEV_NAME_LEN];