Commit 281c7462 authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman

staging:vt6655:ioctl: Whitespace cleanups

Neatening only.
git diff -w shows no differences.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5f256874
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
static int msglevel = MSG_LEVEL_INFO; static int msglevel = MSG_LEVEL_INFO;
#ifdef WPA_SM_Transtatus #ifdef WPA_SM_Transtatus
SWPAResult wpa_Result; SWPAResult wpa_Result;
#endif #endif
int private_ioctl(PSDevice pDevice, struct ifreq *rq) int private_ioctl(PSDevice pDevice, struct ifreq *rq)
...@@ -104,9 +104,9 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq) ...@@ -104,9 +104,9 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq)
BSSvClearBSSList((void *)pDevice, pDevice->bLinkPass); BSSvClearBSSList((void *)pDevice, pDevice->bLinkPass);
if (pItemSSID->len != 0) if (pItemSSID->len != 0)
bScheduleCommand((void *) pDevice, WLAN_CMD_BSSID_SCAN, abyScanSSID); bScheduleCommand((void *)pDevice, WLAN_CMD_BSSID_SCAN, abyScanSSID);
else else
bScheduleCommand((void *) pDevice, WLAN_CMD_BSSID_SCAN, NULL); bScheduleCommand((void *)pDevice, WLAN_CMD_BSSID_SCAN, NULL);
spin_unlock_irq(&pDevice->lock); spin_unlock_irq(&pDevice->lock);
break; break;
...@@ -202,8 +202,8 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq) ...@@ -202,8 +202,8 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq)
netif_stop_queue(pDevice->dev); netif_stop_queue(pDevice->dev);
spin_lock_irq(&pDevice->lock); spin_lock_irq(&pDevice->lock);
pMgmt->eCurrState = WMAC_STATE_IDLE; pMgmt->eCurrState = WMAC_STATE_IDLE;
bScheduleCommand((void *) pDevice, WLAN_CMD_BSSID_SCAN, pMgmt->abyDesireSSID); bScheduleCommand((void *)pDevice, WLAN_CMD_BSSID_SCAN, pMgmt->abyDesireSSID);
bScheduleCommand((void *) pDevice, WLAN_CMD_SSID, NULL); bScheduleCommand((void *)pDevice, WLAN_CMD_SSID, NULL);
spin_unlock_irq(&pDevice->lock); spin_unlock_irq(&pDevice->lock);
break; break;
...@@ -267,7 +267,7 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq) ...@@ -267,7 +267,7 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq)
memcpy(sLinkStatus.abySSID, pItemSSID->abySSID, pItemSSID->len); memcpy(sLinkStatus.abySSID, pItemSSID->abySSID, pItemSSID->len);
memcpy(sLinkStatus.abyBSSID, pMgmt->abyCurrBSSID, WLAN_BSSID_LEN); memcpy(sLinkStatus.abyBSSID, pMgmt->abyCurrBSSID, WLAN_BSSID_LEN);
sLinkStatus.uLinkRate = pMgmt->sNodeDBTable[0].wTxDataRate; sLinkStatus.uLinkRate = pMgmt->sNodeDBTable[0].wTxDataRate;
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO" Link Success!\n"); DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " Link Success!\n");
} else { } else {
sLinkStatus.bLink = false; sLinkStatus.bLink = false;
sLinkStatus.uLinkRate = 0; sLinkStatus.uLinkRate = 0;
...@@ -311,7 +311,7 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq) ...@@ -311,7 +311,7 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq)
} }
pList->uItem = sList.uItem; pList->uItem = sList.uItem;
pBSS = &(pMgmt->sBSSList[0]); pBSS = &(pMgmt->sBSSList[0]);
for (ii = 0, jj = 0; jj < MAX_BSS_NUM ; jj++) { for (ii = 0, jj = 0; jj < MAX_BSS_NUM; jj++) {
pBSS = &(pMgmt->sBSSList[jj]); pBSS = &(pMgmt->sBSSList[jj]);
if (pBSS->bActive) { if (pBSS->bActive) {
pList->sBSSIDList[ii].uChannel = pBSS->uChannel; pList->sBSSIDList[ii].uChannel = pBSS->uChannel;
...@@ -540,7 +540,7 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq) ...@@ -540,7 +540,7 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq)
} }
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Support Rate= %*ph\n", DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Support Rate= %*ph\n",
4, pMgmt->abyIBSSSuppRates + 2); 4, pMgmt->abyIBSSSuppRates + 2);
netif_stop_queue(pDevice->dev); netif_stop_queue(pDevice->dev);
spin_lock_irq(&pDevice->lock); spin_lock_irq(&pDevice->lock);
......
...@@ -43,12 +43,12 @@ ...@@ -43,12 +43,12 @@
int private_ioctl(PSDevice pDevice, struct ifreq *rq); int private_ioctl(PSDevice pDevice, struct ifreq *rq);
/* /*
void vConfigWEPKey ( void vConfigWEPKey(
PSDevice pDevice, PSDevice pDevice,
unsigned long dwKeyIndex, unsigned long dwKeyIndex,
unsigned char *pbyKey, unsigned char *pbyKey,
unsigned long uKeyLength unsigned long uKeyLength
); );
*/ */
#endif // __IOCTL_H__ #endif // __IOCTL_H__
......
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