linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Malcolm Priestley <tvboxspy@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-wireless@vger.kernel.org, Malcolm Priestley <tvboxspy@gmail.com>
Subject: [PATCH 05/14] staging: vt6656: rxtx: Replace wCTSDuration*
Date: Tue, 18 Mar 2014 19:24:59 +0000	[thread overview]
Message-ID: <1395170708-2990-5-git-send-email-tvboxspy@gmail.com> (raw)
In-Reply-To: <1395170708-2990-1-git-send-email-tvboxspy@gmail.com>

Fix base type to __le16 and remove camel case.

Camel case changes
wCTSDuration* -> cts_duration*

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
---
 drivers/staging/vt6656/rxtx.c | 4 ++--
 drivers/staging/vt6656/rxtx.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c
index 9846c90..fb8b2fc9 100644
--- a/drivers/staging/vt6656/rxtx.c
+++ b/drivers/staging/vt6656/rxtx.c
@@ -732,11 +732,11 @@ static u16 s_vFillCTSHead(struct vnt_private *pDevice, u32 uDMAIdx,
 			cbFrameLength, byPktType,
 			wCurrentRate, bNeedAck, byFBOption);
 		/* Get CTSDuration_ba_f0 */
-		pBuf->wCTSDuration_ba_f0 = s_uGetRTSCTSDuration(pDevice,
+		pBuf->cts_duration_ba_f0 = s_uGetRTSCTSDuration(pDevice,
 			CTSDUR_BA_F0, cbFrameLength, byPktType,
 			pDevice->tx_rate_fb0, bNeedAck, byFBOption);
 		/* Get CTSDuration_ba_f1 */
-		pBuf->wCTSDuration_ba_f1 = s_uGetRTSCTSDuration(pDevice,
+		pBuf->cts_duration_ba_f1 = s_uGetRTSCTSDuration(pDevice,
 			CTSDUR_BA_F1, cbFrameLength, byPktType,
 			pDevice->tx_rate_fb1, bNeedAck, byFBOption);
 		/* Get CTS Frame body */
diff --git a/drivers/staging/vt6656/rxtx.h b/drivers/staging/vt6656/rxtx.h
index f0ab2a3..2f65a6f 100644
--- a/drivers/staging/vt6656/rxtx.h
+++ b/drivers/staging/vt6656/rxtx.h
@@ -167,8 +167,8 @@ struct vnt_cts_fb {
 	struct vnt_phy_field b;
 	__le16 duration_ba;
 	u16 wReserved;
-	u16 wCTSDuration_ba_f0;
-	u16 wCTSDuration_ba_f1;
+	__le16 cts_duration_ba_f0;
+	__le16 cts_duration_ba_f1;
 	struct ieee80211_cts data;
 	u16 reserved2;
 	struct vnt_tx_datahead_g_fb data_head;
-- 
1.9.0


  parent reply	other threads:[~2014-03-18 19:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-18 19:24 [PATCH 01/14] staging: vt6656: rxtx Replace wDuration* variables Malcolm Priestley
2014-03-18 19:24 ` [PATCH 02/14] staging: vt6656: rxtx: Replace wRTSDuration* variables Malcolm Priestley
2014-03-18 19:24 ` [PATCH 03/14] staging: vt6656: rxtx: Replace wRTSTxRrvTime* Malcolm Priestley
2014-03-18 19:24 ` [PATCH 04/14] staging: vt6656: rxtx: Replace wTxRrvTime* Malcolm Priestley
2014-03-18 19:24 ` Malcolm Priestley [this message]
2014-03-18 19:25 ` [PATCH 06/14] staging: vt6656: rxtx Replace wCTSTxRrvTime_ba Malcolm Priestley
2014-03-18 19:25 ` [PATCH 07/14] staging: vt6656: rxtx Replace wTimeStampOff* variables Malcolm Priestley
2014-03-18 19:25 ` [PATCH 08/14] staging: vt6656: struct vnt_tx_short_buf_head correct base types Malcolm Priestley
2014-03-18 19:25 ` [PATCH 09/14] staging: vt6656: vnt_time_stamp_off fix return to __le16 Malcolm Priestley
2014-03-18 19:25 ` [PATCH 10/14] staging: vt6656: rxtx endian correct return duration Malcolm Priestley
2014-03-18 19:25 ` [PATCH 11/14] staging: vt6656: Correct return type s_uGetRTSCTSDuration Malcolm Priestley
2014-03-18 19:25 ` [PATCH 12/14] staging: vt6656: s_uGetDataDuration use __le16 Malcolm Priestley
2014-03-18 19:25 ` [PATCH 13/14] staging: vt6656: vnt_rxtx_rsvtime_le16 fix return Malcolm Priestley
2014-03-18 19:25 ` [PATCH 14/14] staging: vt6656: s_uGetRTSCTSRsvTime " 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=1395170708-2990-5-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).