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 73b779421052aa5bf2c254274554334809241ebc..3e144ed963633afd2c3bd9b3ae3ae2ac9a14b95f 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 ae136b2c0e57e9a6c246f66c77e1352af0376de7..e5462ed1a4d409b09c7bd1ad03560bdbfcea8b3c 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 0642f188cc8c98135b03c78e2834326c1ca22051..ef669b70970d8350a69d34c206dfb53dc1ffb7ac 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 55c55634e61b6bdca26582771348e85a8e01ddae..b2d7865a6f75949a94234ac858cf82b7cc345669 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