summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/fw.h
diff options
context:
space:
mode:
authorBing Zhao <bzhao@marvell.com>2014-05-27 21:39:34 -0700
committerJohn W. Linville <linville@tuxdriver.com>2014-05-29 13:10:36 -0400
commit915f36d2e5cf0219835af0029cb28a24def34c65 (patch)
tree6cb8e1360998729f9c7af2fdbcb5f039154fc054 /drivers/net/wireless/mwifiex/fw.h
parenta983e48b275f43292f26cd5fec5b614c0c0aacfb (diff)
downloadop-kernel-dev-915f36d2e5cf0219835af0029cb28a24def34c65.zip
op-kernel-dev-915f36d2e5cf0219835af0029cb28a24def34c65.tar.gz
mwifiex: change hscfg gap parameter to avoid potential firmware deadlock
If host sleep parameter gap is set to 0xff, firmware will wait for an ack from host to confirm the success of host wakeup. This prevents firmware from uploading data packet before host actually wakes up. Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/fw.h')
-rw-r--r--drivers/net/wireless/mwifiex/fw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/fw.h b/drivers/net/wireless/mwifiex/fw.h
index 42eaeda..3175dd0 100644
--- a/drivers/net/wireless/mwifiex/fw.h
+++ b/drivers/net/wireless/mwifiex/fw.h
@@ -405,7 +405,7 @@ enum P2P_MODES {
#define HS_CFG_CANCEL 0xffffffff
#define HS_CFG_COND_DEF 0x00000000
#define HS_CFG_GPIO_DEF 0xff
-#define HS_CFG_GAP_DEF 0
+#define HS_CFG_GAP_DEF 0xff
#define HS_CFG_COND_BROADCAST_DATA 0x00000001
#define HS_CFG_COND_UNICAST_DATA 0x00000002
#define HS_CFG_COND_MAC_EVENT 0x00000004
OpenPOWER on IntegriCloud