disabling power save mode for marvell wifi driver
This commit is contained in:
parent
30f52c5a35
commit
ebfef21d22
|
@ -418,6 +418,9 @@ mwifiex_cfg80211_set_power_mgmt(struct wiphy *wiphy,
|
|||
|
||||
ps_mode = enabled;
|
||||
|
||||
mwifiex_dbg(priv->adapter, ERROR, "overriding ps_mode to false\n");
|
||||
ps_mode = 0;
|
||||
|
||||
return mwifiex_drv_set_power(priv, &ps_mode);
|
||||
}
|
||||
|
||||
|
|
|
@ -2308,7 +2308,7 @@ int mwifiex_sta_init_cmd(struct mwifiex_private *priv, u8 first_sta, bool init)
|
|||
if (ret)
|
||||
return -1;
|
||||
|
||||
if (priv->bss_type != MWIFIEX_BSS_TYPE_UAP) {
|
||||
if (0 && priv->bss_type != MWIFIEX_BSS_TYPE_UAP) {
|
||||
/* Enable IEEE PS by default */
|
||||
priv->adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_PSP;
|
||||
ret = mwifiex_send_cmd(priv,
|
||||
|
@ -2364,7 +2364,7 @@ int mwifiex_sta_init_cmd(struct mwifiex_private *priv, u8 first_sta, bool init)
|
|||
if (ret)
|
||||
return -1;
|
||||
|
||||
if (!disable_auto_ds && first_sta &&
|
||||
if (0 && !disable_auto_ds && first_sta &&
|
||||
priv->bss_type != MWIFIEX_BSS_TYPE_UAP) {
|
||||
/* Enable auto deep sleep */
|
||||
auto_ds.auto_ds = DEEP_SLEEP_ON;
|
||||
|
|
Loading…
Reference in a new issue