staging: vt6656: rename PSvDisablePowerSaving to vnt_disable_power_saving
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 4 Jun 2014 17:25:25 +0000 (18:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 22:59:49 +0000 (15:59 -0700)
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/iwctl.c
drivers/staging/vt6656/power.c
drivers/staging/vt6656/power.h
drivers/staging/vt6656/wcmd.c

index 73b7794..3e144ed 100644 (file)
@@ -1323,7 +1323,7 @@ int iwctl_siwpower(struct net_device *dev, struct iw_request_info *info,
 
        if (wrq->disabled) {
                pDevice->ePSMode = WMAC_POWER_CAM;
-               PSvDisablePowerSaving(pDevice);
+               vnt_disable_power_saving(pDevice);
                return rc;
        }
        if ((wrq->flags & IW_POWER_TYPE) == IW_POWER_TIMEOUT) {
index ae136b2..e5462ed 100644 (file)
@@ -125,7 +125,7 @@ void vnt_enable_power_saving(struct vnt_private *priv, u16 listen_interval)
  *
  */
 
-void PSvDisablePowerSaving(struct vnt_private *priv)
+void vnt_disable_power_saving(struct vnt_private *priv)
 {
 
        /* disable power saving hw function */
index 0642f18..ef669b7 100644 (file)
@@ -38,7 +38,7 @@
 
 int PSbConsiderPowerDown(struct vnt_private *, int bCheckRxDMA,
        int bCheckCountToWakeUp);
-void PSvDisablePowerSaving(struct vnt_private *);
+void vnt_disable_power_saving(struct vnt_private *);
 void vnt_enable_power_saving(struct vnt_private *, u16);
 void PSvSendPSPOLL(struct vnt_private *);
 int PSbSendNullPacket(struct vnt_private *);
index 55c5563..b2d7865 100644 (file)
@@ -480,7 +480,7 @@ void vRunCommand(struct work_struct *work)
                // set initial state
                pMgmt->eCurrState = WMAC_STATE_IDLE;
                pMgmt->eCurrMode = WMAC_MODE_STANDBY;
-               PSvDisablePowerSaving((void *) pDevice);
+               vnt_disable_power_saving(pDevice);
                BSSvClearNodeDBTable(pDevice, 0);
                vMgrJoinBSSBegin((void *) pDevice, &Status);
                // if Infra mode