aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/sta_ioctl.c
diff options
context:
space:
mode:
authorXinming Hu <huxm@marvell.com>2014-06-20 00:38:56 -0400
committerJohn W. Linville <linville@tuxdriver.com>2014-06-25 15:32:46 -0400
commit937a50451b0d1d1834485b47f00a7c0295413d09 (patch)
tree7a9de3a58278ec0405fe11ba14eeebffc93dfd0f /drivers/net/wireless/mwifiex/sta_ioctl.c
parent54881c6b37c8d6127fa67c6baf0dc887f1920ae6 (diff)
mwifiex: add hscfg to debugfs
Some SDIO controllers do not support MMC_PM_KEEP_POWER properly. To test host sleep feature without putting the system into sleep we need to simulate host sleep configuration & handshake between driver and firmware using customized parameters. This patch adds hscfg debugfs item, with which user could change host sleep parameters for debugging. Signed-off-by: Xinming Hu <huxm@marvell.com> 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/mwifiex/sta_ioctl.c b/drivers/net/wireless/mwifiex/sta_ioctl.c
index 229526356d9b..6b9395f37742 100644
--- a/drivers/net/wireless/mwifiex/sta_ioctl.c
+++ b/drivers/net/wireless/mwifiex/sta_ioctl.c
@@ -389,8 +389,8 @@ done:
389 * This function prepares the correct firmware command and 389 * This function prepares the correct firmware command and
390 * issues it. 390 * issues it.
391 */ 391 */
392static int mwifiex_set_hs_params(struct mwifiex_private *priv, u16 action, 392int mwifiex_set_hs_params(struct mwifiex_private *priv, u16 action,
393 int cmd_type, struct mwifiex_ds_hs_cfg *hs_cfg) 393 int cmd_type, struct mwifiex_ds_hs_cfg *hs_cfg)
394 394
395{ 395{
396 struct mwifiex_adapter *adapter = priv->adapter; 396 struct mwifiex_adapter *adapter = priv->adapter;