diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-06-04 17:25:23 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-19 22:59:49 (GMT) |
commit | bedf4efa990a1d68e80658a21957a4708d10dee1 (patch) | |
tree | cb80f4b7036f31c1fde77363c9dde19c4dc0fd0c | |
parent | 38c7b5b597d22b5c469ce0ee48a521f206debf2e (diff) | |
download | linux-bedf4efa990a1d68e80658a21957a4708d10dee1.tar.xz |
staging: vt6656: PSbIsNextTBTTWakeUp remove camel case
camel case changes
pDevice -> priv
pMgmt -> mgmt
bWakeup -> wake_up
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/vt6656/power.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/staging/vt6656/power.c b/drivers/staging/vt6656/power.c index b7c2720..7f60372 100644 --- a/drivers/staging/vt6656/power.c +++ b/drivers/staging/vt6656/power.c @@ -312,27 +312,27 @@ int PSbSendNullPacket(struct vnt_private *pDevice) * */ -int PSbIsNextTBTTWakeUp(struct vnt_private *pDevice) +int PSbIsNextTBTTWakeUp(struct vnt_private *priv) { - struct vnt_manager *pMgmt = &pDevice->vnt_mgmt; - int bWakeUp = false; + struct vnt_manager *mgmt = &priv->vnt_mgmt; + int wake_up = false; - if (pMgmt->wListenInterval >= 2) { - if (pMgmt->wCountToWakeUp == 0) - pMgmt->wCountToWakeUp = pMgmt->wListenInterval; + if (mgmt->wListenInterval >= 2) { + if (mgmt->wCountToWakeUp == 0) + mgmt->wCountToWakeUp = mgmt->wListenInterval; - pMgmt->wCountToWakeUp--; + mgmt->wCountToWakeUp--; - if (pMgmt->wCountToWakeUp == 1) { + if (mgmt->wCountToWakeUp == 1) { /* Turn on wake up to listen next beacon */ - vnt_mac_reg_bits_on(pDevice, MAC_REG_PSCTL, PSCTL_LNBCN); - pDevice->bPSRxBeacon = false; - bWakeUp = true; - } else if (!pDevice->bPSRxBeacon) { + vnt_mac_reg_bits_on(priv, MAC_REG_PSCTL, PSCTL_LNBCN); + priv->bPSRxBeacon = false; + wake_up = true; + } else if (!priv->bPSRxBeacon) { /* Listen until RxBeacon */ - vnt_mac_reg_bits_on(pDevice, MAC_REG_PSCTL, PSCTL_LNBCN); + vnt_mac_reg_bits_on(priv, MAC_REG_PSCTL, PSCTL_LNBCN); } } - return bWakeUp; + return wake_up; } |