Browse Source

mwifiex: wowlan: do not disconnect on suspend

For users who do not need wowlan, load mwifiex.ko with
disconnect_on_suspend = 1; or iw phy0 wowlan disable.

Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Bing Zhao 11 years ago
parent
commit
ef0a68a832
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/net/wireless/mwifiex/sta_ioctl.c

+ 1 - 1
drivers/net/wireless/mwifiex/sta_ioctl.c

@@ -26,7 +26,7 @@
 #include "11n.h"
 #include "11n.h"
 #include "cfg80211.h"
 #include "cfg80211.h"
 
 
-static int disconnect_on_suspend = 1;
+static int disconnect_on_suspend;
 module_param(disconnect_on_suspend, int, 0644);
 module_param(disconnect_on_suspend, int, 0644);
 
 
 /*
 /*