summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/sta_ioctl.c
diff options
context:
space:
mode:
authorBing Zhao <bzhao@marvell.com>2014-06-07 04:47:44 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-06-19 21:49:16 +0200
commitef0a68a832cccfc8400aa32b2a3d65e16d29ae9d (patch)
tree30ef4a7867563d0ac7ae63d103513e3036419b50 /drivers/net/wireless/mwifiex/sta_ioctl.c
parentmwifiex: support wowlan magic-packet encapsulated as UDP packet (diff)
downloadlinux-ef0a68a832cccfc8400aa32b2a3d65e16d29ae9d.tar.xz
linux-ef0a68a832cccfc8400aa32b2a3d65e16d29ae9d.zip
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>
Diffstat (limited to 'drivers/net/wireless/mwifiex/sta_ioctl.c')
-rw-r--r--drivers/net/wireless/mwifiex/sta_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/sta_ioctl.c b/drivers/net/wireless/mwifiex/sta_ioctl.c
index 536c14aa71f3..229526356d9b 100644
--- a/drivers/net/wireless/mwifiex/sta_ioctl.c
+++ b/drivers/net/wireless/mwifiex/sta_ioctl.c
@@ -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);
/*