projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5abe3d6
)
staging: vt6656: vnt_rxtx_rsvtime_le16 fix return.
author
Malcolm Priestley
<tvboxspy@gmail.com>
Tue, 18 Mar 2014 19:25:07 +0000
(19:25 +0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 19 Mar 2014 16:00:19 +0000
(09:00 -0700)
Always returns to __le16 type.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/rxtx.c
patch
|
blob
|
history
diff --git
a/drivers/staging/vt6656/rxtx.c
b/drivers/staging/vt6656/rxtx.c
index d30e699cf382bc37bf49499c68ec7a1a74688ce8..924d9a278fee4f5e62de484486a04f8ead30fe23 100644
(file)
--- a/
drivers/staging/vt6656/rxtx.c
+++ b/
drivers/staging/vt6656/rxtx.c
@@
-359,7
+359,7
@@
static u32 s_uGetTxRsvTime(struct vnt_private *priv, u8 pkt_type,
return data_time;
}
-static
u
16 vnt_rxtx_rsvtime_le16(struct vnt_private *priv, u8 pkt_type,
+static
__le
16 vnt_rxtx_rsvtime_le16(struct vnt_private *priv, u8 pkt_type,
u32 frame_length, u16 rate, int need_ack)
{
return cpu_to_le16((u16)s_uGetTxRsvTime(priv, pkt_type,