diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2011-07-13 23:51:59 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-07-21 14:52:04 -0400 |
commit | a0490936007bacf5bf6f4fb27788550c89c2c70d (patch) | |
tree | 1d24768db0a6e98336bf0b344d5a3a28b87d0b33 /drivers/net/wireless/mwifiex/main.h | |
parent | df3b124bdb6fe2459625443bd3dc0dbd020932da (diff) |
mwifiex: disable auto deep sleep before unloading the driver
Since the auto deep sleep mode has been enabled at driver init time
we should disable it at driver unloading to shutdown the function
gracefully.
Signed-off-by: Amitkumar Karwar <akarwar@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/main.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/main.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h index 03691c02a6e8..2215c3c97354 100644 --- a/drivers/net/wireless/mwifiex/main.h +++ b/drivers/net/wireless/mwifiex/main.h | |||
@@ -929,6 +929,7 @@ int mwifiex_set_hs_params(struct mwifiex_private *priv, | |||
929 | struct mwifiex_ds_hs_cfg *hscfg); | 929 | struct mwifiex_ds_hs_cfg *hscfg); |
930 | int mwifiex_cancel_hs(struct mwifiex_private *priv, int cmd_type); | 930 | int mwifiex_cancel_hs(struct mwifiex_private *priv, int cmd_type); |
931 | int mwifiex_enable_hs(struct mwifiex_adapter *adapter); | 931 | int mwifiex_enable_hs(struct mwifiex_adapter *adapter); |
932 | int mwifiex_disable_auto_ds(struct mwifiex_private *priv); | ||
932 | int mwifiex_get_signal_info(struct mwifiex_private *priv, | 933 | int mwifiex_get_signal_info(struct mwifiex_private *priv, |
933 | struct mwifiex_ds_get_signal *signal); | 934 | struct mwifiex_ds_get_signal *signal); |
934 | int mwifiex_drv_get_data_rate(struct mwifiex_private *priv, | 935 | int mwifiex_drv_get_data_rate(struct mwifiex_private *priv, |