mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 15:42:46 +00:00
Staging: vt6656: Fix indentation of bssdb.c
Corrects indentation by using tabs instead of spaces. This also includes modification of the alignment of multi-line expressions and statements. Signed-off-by: Sebastian Rachuj <sebastian.rachuj@studium.uni-erlangen.de> Signed-off-by: Simon Schuster <linux@rationality.eu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a6e8e3a470
commit
0863b4e21f
1 changed files with 960 additions and 955 deletions
|
@ -245,10 +245,14 @@ void BSSvClearBSSList(struct vnt_private *pDevice, int bKeepCurrBSSID)
|
|||
if (pMgmt->sBSSList[ii].bActive &&
|
||||
ether_addr_equal(pMgmt->sBSSList[ii].abyBSSID,
|
||||
pMgmt->abyCurrBSSID)) {
|
||||
//mike mark: there are two BSSID's in list. If that AP is in hidden ssid mode, one SSID is null,
|
||||
// but other's might not be obvious, so if it associate's with your STA,
|
||||
// you must keep the two of them!!
|
||||
// bKeepCurrBSSID = false;
|
||||
|
||||
//mike mark:
|
||||
//there are two BSSID's in list. If that AP is
|
||||
//in hidden ssid mode, one SSID is null, but
|
||||
//other's might not be obvious, so if it
|
||||
//associate's with your STA, you must keep the
|
||||
//two of them!! bKeepCurrBSSID = false;
|
||||
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
@ -269,7 +273,8 @@ void BSSvClearBSSList(struct vnt_private *pDevice, int bKeepCurrBSSID)
|
|||
*
|
||||
-*/
|
||||
PKnownBSS BSSpAddrIsInBSSList(struct vnt_private *pDevice,
|
||||
u8 *abyBSSID, PWLAN_IE_SSID pSSID)
|
||||
u8 *abyBSSID,
|
||||
PWLAN_IE_SSID pSSID)
|
||||
{
|
||||
struct vnt_manager *pMgmt = &pDevice->vnt_mgmt;
|
||||
PKnownBSS pBSSList = NULL;
|
||||
|
@ -616,7 +621,8 @@ int BSSbUpdateToBSSList(struct vnt_private *pDevice,
|
|||
-*/
|
||||
|
||||
int BSSbIsSTAInNodeDB(struct vnt_private *pDevice,
|
||||
u8 *abyDstAddr, u32 *puNodeIndex)
|
||||
u8 *abyDstAddr,
|
||||
u32 *puNodeIndex)
|
||||
{
|
||||
struct vnt_manager *pMgmt = &pDevice->vnt_mgmt;
|
||||
unsigned int ii;
|
||||
|
@ -727,8 +733,10 @@ void BSSvRemoveOneNode(struct vnt_private *pDevice, u32 uNodeIndex)
|
|||
*
|
||||
-*/
|
||||
|
||||
void BSSvUpdateAPNode(struct vnt_private *pDevice, u16 *pwCapInfo,
|
||||
PWLAN_IE_SUPP_RATES pSuppRates, PWLAN_IE_SUPP_RATES pExtSuppRates)
|
||||
void BSSvUpdateAPNode(struct vnt_private *pDevice,
|
||||
u16 *pwCapInfo,
|
||||
PWLAN_IE_SUPP_RATES pSuppRates,
|
||||
PWLAN_IE_SUPP_RATES pExtSuppRates)
|
||||
{
|
||||
struct vnt_manager *pMgmt = &pDevice->vnt_mgmt;
|
||||
u32 uRateLen = WLAN_RATES_MAXLEN;
|
||||
|
@ -753,8 +761,7 @@ void BSSvUpdateAPNode(struct vnt_private *pDevice, u16 *pwCapInfo,
|
|||
&(pMgmt->sNodeDBTable[0].wMaxSuppRate),
|
||||
&(pMgmt->sNodeDBTable[0].wSuppRate),
|
||||
&(pMgmt->sNodeDBTable[0].byTopCCKBasicRate),
|
||||
&(pMgmt->sNodeDBTable[0].byTopOFDMBasicRate)
|
||||
);
|
||||
&(pMgmt->sNodeDBTable[0].byTopOFDMBasicRate));
|
||||
memcpy(pMgmt->sNodeDBTable[0].abyMACAddr, pMgmt->abyCurrBSSID, WLAN_ADDR_LEN);
|
||||
pMgmt->sNodeDBTable[0].wTxDataRate = pMgmt->sNodeDBTable[0].wMaxSuppRate;
|
||||
pMgmt->sNodeDBTable[0].bShortPreamble = WLAN_GET_CAP_INFO_SHORTPREAMBLE(*pwCapInfo);
|
||||
|
@ -794,8 +801,7 @@ void BSSvAddMulticastNode(struct vnt_private *pDevice)
|
|||
&(pMgmt->sNodeDBTable[0].wMaxSuppRate),
|
||||
&(pMgmt->sNodeDBTable[0].wSuppRate),
|
||||
&(pMgmt->sNodeDBTable[0].byTopCCKBasicRate),
|
||||
&(pMgmt->sNodeDBTable[0].byTopOFDMBasicRate)
|
||||
);
|
||||
&(pMgmt->sNodeDBTable[0].byTopOFDMBasicRate));
|
||||
pMgmt->sNodeDBTable[0].wTxDataRate = pMgmt->sNodeDBTable[0].wMaxBasicRate;
|
||||
pMgmt->sNodeDBTable[0].uRatePollTimeout = FALLBACK_POLL_SECOND;
|
||||
|
||||
|
@ -1065,7 +1071,6 @@ DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "bIsRoaming %d, !\n", pDevice->bIsRoaming );
|
|||
if (pDevice->uIsroamingTime >= 20)
|
||||
pDevice->bIsRoaming = false;
|
||||
}
|
||||
|
||||
}
|
||||
else {
|
||||
if (pDevice->uAutoReConnectTime < 10) {
|
||||
|
|
Loading…
Reference in a new issue