mwifiex: wowlan: do not disconnect on suspend
authorBing Zhao <bzhao@marvell.com>
Sat, 7 Jun 2014 02:47:44 +0000 (19:47 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 19 Jun 2014 19:49:16 +0000 (15:49 -0400)
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>
drivers/net/wireless/mwifiex/sta_ioctl.c

index 536c14aa71f39cb0e4f73417429fca55258af5ed..229526356d9bbd734b5aa03283aecb805be24e2e 100644 (file)
@@ -26,7 +26,7 @@
 #include "11n.h"
 #include "cfg80211.h"
 
-static int disconnect_on_suspend = 1;
+static int disconnect_on_suspend;
 module_param(disconnect_on_suspend, int, 0644);
 
 /*