From: Malcolm Priestley <tvboxspy@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-wireless@vger.kernel.org, Malcolm Priestley <tvboxspy@gmail.com>
Subject: [PATCH 02/14] staging: vt6656: camel case clean up CARDbIsOFDMinBasicRate
Date: Sat, 24 May 2014 14:36:58 +0100 [thread overview]
Message-ID: <1400938630-2850-2-git-send-email-tvboxspy@gmail.com> (raw)
In-Reply-To: <1400938630-2850-1-git-send-email-tvboxspy@gmail.com>
camel case change
pDevice -> priv
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
---
drivers/staging/vt6656/card.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/vt6656/card.c b/drivers/staging/vt6656/card.c
index 439e536..5a357c5 100644
--- a/drivers/staging/vt6656/card.c
+++ b/drivers/staging/vt6656/card.c
@@ -522,15 +522,16 @@ void CARDbAddBasicRate(struct vnt_private *priv, u16 rate_idx)
CARDvUpdateBasicTopRate(priv);
}
-int CARDbIsOFDMinBasicRate(struct vnt_private *pDevice)
+int CARDbIsOFDMinBasicRate(struct vnt_private *priv)
{
int ii;
- for (ii = RATE_54M; ii >= RATE_6M; ii --) {
- if ((pDevice->wBasicRate) & ((u16)(1<<ii)))
- return true;
- }
- return false;
+ for (ii = RATE_54M; ii >= RATE_6M; ii--) {
+ if ((priv->wBasicRate) & ((u16)(1 << ii)))
+ return true;
+ }
+
+ return false;
}
u8 CARDbyGetPktType(struct vnt_private *pDevice)
--
1.9.1
next prev parent reply other threads:[~2014-05-24 13:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-24 13:36 [PATCH 01/14] staging: vt6656: Convert remaining locks to spin_lock_irqsave Malcolm Priestley
2014-05-24 13:36 ` Malcolm Priestley [this message]
2014-05-24 13:36 ` [PATCH 03/14] staging: vt6656: camel case and cleanup CARDbyGetPktType Malcolm Priestley
2014-05-24 13:37 ` [PATCH 04/14] staging: vt6656: CARDqGetTSFOffset remove camel case Malcolm Priestley
2014-05-24 13:37 ` [PATCH 05/14] staging: vt6656: camel case and clean up CARDvAdjustTSF Malcolm Priestley
2014-05-24 13:37 ` [PATCH 06/14] staging: vt6656: CARDbGetCurrentTSF remove camel case Malcolm Priestley
2014-05-24 13:37 ` [PATCH 07/14] staging: vt6656: CARDbClearCurrentTSF " Malcolm Priestley
2014-05-24 13:37 ` [PATCH 08/14] staging: vt6656: CARDqGetNextTBTT " Malcolm Priestley
2014-05-24 13:37 ` [PATCH 09/14] staging: vt6656: camel case and clean up CARDvSetFirstNextTBTT Malcolm Priestley
2014-05-24 13:37 ` [PATCH 10/14] staging: vt6656: camel case clean up CARDvUpdateNextTBTT Malcolm Priestley
2014-05-24 13:37 ` [PATCH 11/14] staging: vt6656: camel case clean up CARDbRadioPowerOff Malcolm Priestley
2014-05-24 13:37 ` [PATCH 12/14] staging: vt6656: camel case clean up CARDbRadioPowerOn Malcolm Priestley
2014-05-24 13:37 ` [PATCH 13/14] staging: vt6656: camel case and clean up CARDvSetBSSMode Malcolm Priestley
2014-05-24 13:37 ` [PATCH 14/14] staging: vt6656: CARDvCalculateOFDMRParameter fix indentation rsv_time Malcolm Priestley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1400938630-2850-2-git-send-email-tvboxspy@gmail.com \
--to=tvboxspy@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).