Commit 38c7b5b5 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: PSvDisablePowerSaving remove camel case

pDevice -> priv
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2bac6f98
...@@ -125,24 +125,24 @@ void PSvEnablePowerSaving(struct vnt_private *priv, u16 listen_interval) ...@@ -125,24 +125,24 @@ void PSvEnablePowerSaving(struct vnt_private *priv, u16 listen_interval)
* *
*/ */
void PSvDisablePowerSaving(struct vnt_private *pDevice) void PSvDisablePowerSaving(struct vnt_private *priv)
{ {
/* disable power saving hw function */ /* disable power saving hw function */
vnt_control_out(pDevice, MESSAGE_TYPE_DISABLE_PS, 0, vnt_control_out(priv, MESSAGE_TYPE_DISABLE_PS, 0,
0, 0, NULL); 0, 0, NULL);
/* clear AutoSleep */ /* clear AutoSleep */
vnt_mac_reg_bits_off(pDevice, MAC_REG_PSCFG, PSCFG_AUTOSLEEP); vnt_mac_reg_bits_off(priv, MAC_REG_PSCFG, PSCFG_AUTOSLEEP);
/* set always listen beacon */ /* set always listen beacon */
vnt_mac_reg_bits_on(pDevice, MAC_REG_PSCTL, PSCTL_ALBCN); vnt_mac_reg_bits_on(priv, MAC_REG_PSCTL, PSCTL_ALBCN);
pDevice->bEnablePSMode = false; priv->bEnablePSMode = false;
if (pDevice->op_mode == NL80211_IFTYPE_STATION) if (priv->op_mode == NL80211_IFTYPE_STATION)
PSbSendNullPacket(pDevice); PSbSendNullPacket(priv);
pDevice->bPWBitOn = false; priv->bPWBitOn = false;
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment