[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>
This commit is contained in:
Luis Carlos Cobo
2007-08-02 13:16:02 -04:00
committed by David S. Miller
parent b37e5842f5
commit d21b31fd53
3 changed files with 49 additions and 1 deletions

View File

@@ -103,6 +103,7 @@ struct _wlan_private {
int open;
int mesh_open;
int infra_open;
int mesh_autostart_enabled;
char name[DEV_NAME_LEN];