Commit 5c3ddb3a authored by Merlin Chlosta's avatar Merlin Chlosta Committed by Greg Kroah-Hartman

staging: vt6655: coding style: use C89 comments

fix coding style: use C89 comments, not C99
Signed-off-by: default avatarMerlin Chlosta <eudyptula@merlin.geekmail.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ff87dbc9
...@@ -255,7 +255,7 @@ VNTWIFIbyGetACKTxRate( ...@@ -255,7 +255,7 @@ VNTWIFIbyGetACKTxRate(
if (byRxDataRate <= RATE_11M) { if (byRxDataRate <= RATE_11M) {
byMaxAckRate = RATE_1M; byMaxAckRate = RATE_1M;
} else { } else {
// 24M is mandatory for 802.11a and 802.11g /* 24M is mandatory for 802.11a and 802.11g */
byMaxAckRate = RATE_24M; byMaxAckRate = RATE_24M;
} }
if (pSupportRateIEs) { if (pSupportRateIEs) {
...@@ -491,7 +491,7 @@ VNTWIFIvUpdateNodeTxCounter( ...@@ -491,7 +491,7 @@ VNTWIFIvUpdateNodeTxCounter(
pMgmt->sNodeDBTable[uNodeIndex].uTxAttempts++; pMgmt->sNodeDBTable[uNodeIndex].uTxAttempts++;
if (bTxOk) { if (bTxOk) {
// transmit success, TxAttempts at least plus one /* transmit success, TxAttempts at least plus one */
pMgmt->sNodeDBTable[uNodeIndex].uTxOk[MAX_RATE]++; pMgmt->sNodeDBTable[uNodeIndex].uTxOk[MAX_RATE]++;
pMgmt->sNodeDBTable[uNodeIndex].uTxOk[wRate]++; pMgmt->sNodeDBTable[uNodeIndex].uTxOk[wRate]++;
} else { } else {
...@@ -525,7 +525,7 @@ VNTWIFIvGetTxRate( ...@@ -525,7 +525,7 @@ VNTWIFIvGetTxRate(
if ((pMgmt->eCurrMode == WMAC_MODE_IBSS_STA) || if ((pMgmt->eCurrMode == WMAC_MODE_IBSS_STA) ||
(pMgmt->eCurrMode == WMAC_MODE_ESS_AP)) { (pMgmt->eCurrMode == WMAC_MODE_ESS_AP)) {
// Adhoc Tx rate decided from node DB /* Adhoc Tx rate decided from node DB */
if (BSSDBbIsSTAInNodeDB(pMgmt, pbyDestAddress, &uNodeIndex)) { if (BSSDBbIsSTAInNodeDB(pMgmt, pbyDestAddress, &uNodeIndex)) {
wTxDataRate = (pMgmt->sNodeDBTable[uNodeIndex].wTxDataRate); wTxDataRate = (pMgmt->sNodeDBTable[uNodeIndex].wTxDataRate);
pSupportRateIEs = (PWLAN_IE_SUPP_RATES) (pMgmt->sNodeDBTable[uNodeIndex].abyCurrSuppRates); pSupportRateIEs = (PWLAN_IE_SUPP_RATES) (pMgmt->sNodeDBTable[uNodeIndex].abyCurrSuppRates);
...@@ -539,7 +539,7 @@ VNTWIFIvGetTxRate( ...@@ -539,7 +539,7 @@ VNTWIFIvGetTxRate(
pSupportRateIEs = (PWLAN_IE_SUPP_RATES) pMgmt->abyCurrSuppRates; pSupportRateIEs = (PWLAN_IE_SUPP_RATES) pMgmt->abyCurrSuppRates;
pExtSupportRateIEs = (PWLAN_IE_SUPP_RATES) pMgmt->abyCurrExtSuppRates; pExtSupportRateIEs = (PWLAN_IE_SUPP_RATES) pMgmt->abyCurrExtSuppRates;
} }
} else { // Infrastructure: rate decided from AP Node, index = 0 } else { /* Infrastructure: rate decided from AP Node, index = 0 */
wTxDataRate = (pMgmt->sNodeDBTable[0].wTxDataRate); wTxDataRate = (pMgmt->sNodeDBTable[0].wTxDataRate);
#ifdef PLICE_DEBUG #ifdef PLICE_DEBUG
......
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