All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 6/6] staging: vt6656: rxtx: Break up multiple assignments
@ 2016-09-15 20:27 Namrata A Shettar
  0 siblings, 0 replies; only message in thread
From: Namrata A Shettar @ 2016-09-15 20:27 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Malcolm Priestley, Alison Schofield,
	maomao xu, Othmar Pasteka, Parth Sane, Wolfram Sang,
	outreachy-kernel

[-- Attachment #1: Type: text/plain, Size: 1086 bytes --]

Multiple assignments on same line broken down to fix checkpatch issue.

Signed-off-by: Namrata A Shettar <namrataashettar@gmail.com>
---

 drivers/staging/vt6656/rxtx.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c
index a8553e3a..647220d 100644
--- a/drivers/staging/vt6656/rxtx.c
+++ b/drivers/staging/vt6656/rxtx.c
@@ -166,8 +166,9 @@ static __le16 vnt_get_rtscts_rsvtime_le(struct
vnt_private *priv,
        } else if (rsv_type == 2) {
                rts_time = vnt_get_frame_time(priv->preamble_type, pkt_type,
                        20, priv->top_ofdm_basic_rate);
-               cts_time = ack_time = vnt_get_frame_time(priv->pream
ble_type,
+               cts_time = vnt_get_frame_time(priv->preamble_type,
                        pkt_type, 14, priv->top_ofdm_basic_rate);
+               ack_time = cts_time;
        } else if (rsv_type == 3) {
                cts_time = vnt_get_frame_time(priv->preamble_type, pkt_type,
                        14, priv->top_cck_basic_rate);

--
2.7.4

[-- Attachment #2: Type: text/html, Size: 1647 bytes --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-15 20:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-15 20:27 [PATCH v2 6/6] staging: vt6656: rxtx: Break up multiple assignments Namrata A Shettar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.