diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-03-18 15:25:06 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-19 12:00:19 -0400 |
commit | 5abe3d63adf22a314284d6ac2df10df3fcb328df (patch) | |
tree | 52e5a53dac530775ada3cc47ab86d86dbcf1db30 | |
parent | 7f591a1107f930e9bf4e0f60b5a010ab1f948c15 (diff) |
staging: vt6656: s_uGetDataDuration use __le16.
s_uGetDataDuration always returns to __le16 type
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/vt6656/rxtx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c index 850d1b943cba..d30e699cf382 100644 --- a/drivers/staging/vt6656/rxtx.c +++ b/drivers/staging/vt6656/rxtx.c | |||
@@ -129,7 +129,7 @@ static u16 s_vFillRTSHead(struct vnt_private *pDevice, u8 byPktType, | |||
129 | union vnt_tx_data_head *head, u32 cbFrameLength, int bNeedAck, | 129 | union vnt_tx_data_head *head, u32 cbFrameLength, int bNeedAck, |
130 | struct ethhdr *psEthHeader, u16 wCurrentRate, u8 byFBOption); | 130 | struct ethhdr *psEthHeader, u16 wCurrentRate, u8 byFBOption); |
131 | 131 | ||
132 | static u16 s_uGetDataDuration(struct vnt_private *pDevice, | 132 | static __le16 s_uGetDataDuration(struct vnt_private *pDevice, |
133 | u8 byPktType, int bNeedAck); | 133 | u8 byPktType, int bNeedAck); |
134 | 134 | ||
135 | static __le16 s_uGetRTSCTSDuration(struct vnt_private *pDevice, | 135 | static __le16 s_uGetRTSCTSDuration(struct vnt_private *pDevice, |
@@ -411,7 +411,7 @@ static u16 s_uGetRTSCTSRsvTime(struct vnt_private *priv, | |||
411 | } | 411 | } |
412 | 412 | ||
413 | //byFreqType 0: 5GHz, 1:2.4Ghz | 413 | //byFreqType 0: 5GHz, 1:2.4Ghz |
414 | static u16 s_uGetDataDuration(struct vnt_private *pDevice, | 414 | static __le16 s_uGetDataDuration(struct vnt_private *pDevice, |
415 | u8 byPktType, int bNeedAck) | 415 | u8 byPktType, int bNeedAck) |
416 | { | 416 | { |
417 | u32 uAckTime = 0; | 417 | u32 uAckTime = 0; |