Commit 9d5829bf authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: rxtx.c s_vFillRTSHead white space and formating clean up

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 13fe62ae
...@@ -725,37 +725,34 @@ static void s_vFillRTSHead(struct vnt_private *pDevice, u8 byPktType, ...@@ -725,37 +725,34 @@ static void s_vFillRTSHead(struct vnt_private *pDevice, u8 byPktType,
if (!head) if (!head)
return; return;
// Note: So far RTSHead doesn't appear in ATIM & Beacom DMA, so we don't need to take them into account. /* Note: So far RTSHead doesn't appear in ATIM
// Otherwise, we need to modified codes for them. * & Beacom DMA, so we don't need to take them
if (byPktType == PK_TYPE_11GB || byPktType == PK_TYPE_11GA) { * into account.
if (byFBOption == AUTO_FB_NONE) { * Otherwise, we need to modified codes for them.
vnt_rxtx_rts_g_head(pDevice, &head->rts_g, */
if (byPktType == PK_TYPE_11GB || byPktType == PK_TYPE_11GA) {
if (byFBOption == AUTO_FB_NONE)
vnt_rxtx_rts_g_head(pDevice, &head->rts_g,
psEthHeader, byPktType, cbFrameLength, psEthHeader, byPktType, cbFrameLength,
bNeedAck, wCurrentRate, byFBOption); bNeedAck, wCurrentRate, byFBOption);
} else
else { vnt_rxtx_rts_g_fb_head(pDevice, &head->rts_g_fb,
vnt_rxtx_rts_g_fb_head(pDevice, &head->rts_g_fb,
psEthHeader, byPktType, cbFrameLength, psEthHeader, byPktType, cbFrameLength,
bNeedAck, wCurrentRate, byFBOption); bNeedAck, wCurrentRate, byFBOption);
} // if (byFBOption == AUTO_FB_NONE) } else if (byPktType == PK_TYPE_11A) {
} if (byFBOption == AUTO_FB_NONE)
else if (byPktType == PK_TYPE_11A) { vnt_rxtx_rts_ab_head(pDevice, &head->rts_ab,
if (byFBOption == AUTO_FB_NONE) {
vnt_rxtx_rts_ab_head(pDevice, &head->rts_ab,
psEthHeader, byPktType, cbFrameLength, psEthHeader, byPktType, cbFrameLength,
bNeedAck, wCurrentRate, byFBOption); bNeedAck, wCurrentRate, byFBOption);
} else
else { vnt_rxtx_rts_a_fb_head(pDevice, &head->rts_a_fb,
vnt_rxtx_rts_a_fb_head(pDevice, &head->rts_a_fb,
psEthHeader, byPktType, cbFrameLength, psEthHeader, byPktType, cbFrameLength,
bNeedAck, wCurrentRate, byFBOption); bNeedAck, wCurrentRate, byFBOption);
} } else if (byPktType == PK_TYPE_11B) {
} vnt_rxtx_rts_ab_head(pDevice, &head->rts_ab,
else if (byPktType == PK_TYPE_11B) {
vnt_rxtx_rts_ab_head(pDevice, &head->rts_ab,
psEthHeader, byPktType, cbFrameLength, psEthHeader, byPktType, cbFrameLength,
bNeedAck, wCurrentRate, byFBOption); bNeedAck, wCurrentRate, byFBOption);
} }
} }
static void s_vFillCTSHead(struct vnt_private *pDevice, u32 uDMAIdx, static void s_vFillCTSHead(struct vnt_private *pDevice, u32 uDMAIdx,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment