Commit 861374fc authored by Sarah Khan's avatar Sarah Khan Committed by Greg Kroah-Hartman

staging: vt6655: Replace C99 // comments by /* */

Replaced C99 // comments by /* */ in wroute.c
Signed-off-by: default avatarSarah Khan <sarahjmi07@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fe4c6a38
...@@ -94,7 +94,7 @@ bool ROUTEbRelay(struct vnt_private *pDevice, unsigned char *pbySkbData, ...@@ -94,7 +94,7 @@ bool ROUTEbRelay(struct vnt_private *pDevice, unsigned char *pbySkbData,
if (pDevice->bEncryptionEnable == true) { if (pDevice->bEncryptionEnable == true) {
bNeedEncryption = true; bNeedEncryption = true;
// get group key /* get group key */
pbyBSSID = pDevice->abyBroadcastAddr; pbyBSSID = pDevice->abyBroadcastAddr;
if (KeybGetTransmitKey(&(pDevice->sKey), pbyBSSID, if (KeybGetTransmitKey(&(pDevice->sKey), pbyBSSID,
GROUP_KEY, &pTransmitKey) == false) { GROUP_KEY, &pTransmitKey) == false) {
...@@ -159,7 +159,7 @@ bool ROUTEbRelay(struct vnt_private *pDevice, unsigned char *pbySkbData, ...@@ -159,7 +159,7 @@ bool ROUTEbRelay(struct vnt_private *pDevice, unsigned char *pbySkbData,
&cbHeaderSize); &cbHeaderSize);
if (MACbIsRegBitsOn(pDevice->PortOffset, MAC_REG_PSCTL, PSCTL_PS)) { if (MACbIsRegBitsOn(pDevice->PortOffset, MAC_REG_PSCTL, PSCTL_PS)) {
// Disable PS /* Disable PS */
MACbPSWakeup(pDevice->PortOffset); MACbPSWakeup(pDevice->PortOffset);
} }
...@@ -167,7 +167,7 @@ bool ROUTEbRelay(struct vnt_private *pDevice, unsigned char *pbySkbData, ...@@ -167,7 +167,7 @@ bool ROUTEbRelay(struct vnt_private *pDevice, unsigned char *pbySkbData,
pLastTD = pHeadTD; pLastTD = pHeadTD;
for (ii = 0; ii < uMACfragNum; ii++) { for (ii = 0; ii < uMACfragNum; ii++) {
// Poll Transmit the adapter /* Poll Transmit the adapter */
wmb(); wmb();
pHeadTD->m_td0TD0.f1Owner = OWNED_BY_NIC; pHeadTD->m_td0TD0.f1Owner = OWNED_BY_NIC;
wmb(); wmb();
......
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