Staging: vt6655: 80211mgr: Cleanup of brace coding style issues
Cleanup of a few brace coding style issues. Signed-off-by: Martin Berglund <martin@rogsta.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a21fc2f5be
commit
6b8c28192d
|
@ -165,9 +165,8 @@ vMgrDecodeBeacon(
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WLAN_EID_RSN:
|
case WLAN_EID_RSN:
|
||||||
if (pFrame->pRSN == NULL) {
|
if (pFrame->pRSN == NULL)
|
||||||
pFrame->pRSN = (PWLAN_IE_RSN)pItem;
|
pFrame->pRSN = (PWLAN_IE_RSN)pItem;
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case WLAN_EID_RSN_WPA:
|
case WLAN_EID_RSN_WPA:
|
||||||
if (pFrame->pRSNWPA == NULL) {
|
if (pFrame->pRSNWPA == NULL) {
|
||||||
|
@ -382,9 +381,8 @@ vMgrDecodeAssocRequest(
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WLAN_EID_RSN:
|
case WLAN_EID_RSN:
|
||||||
if (pFrame->pRSN == NULL) {
|
if (pFrame->pRSN == NULL)
|
||||||
pFrame->pRSN = (PWLAN_IE_RSN)pItem;
|
pFrame->pRSN = (PWLAN_IE_RSN)pItem;
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case WLAN_EID_RSN_WPA:
|
case WLAN_EID_RSN_WPA:
|
||||||
if (pFrame->pRSNWPA == NULL) {
|
if (pFrame->pRSNWPA == NULL) {
|
||||||
|
@ -556,9 +554,8 @@ vMgrDecodeReassocRequest(
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WLAN_EID_RSN:
|
case WLAN_EID_RSN:
|
||||||
if (pFrame->pRSN == NULL) {
|
if (pFrame->pRSN == NULL)
|
||||||
pFrame->pRSN = (PWLAN_IE_RSN)pItem;
|
pFrame->pRSN = (PWLAN_IE_RSN)pItem;
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case WLAN_EID_RSN_WPA:
|
case WLAN_EID_RSN_WPA:
|
||||||
if (pFrame->pRSNWPA == NULL) {
|
if (pFrame->pRSNWPA == NULL) {
|
||||||
|
@ -742,9 +739,8 @@ vMgrDecodeProbeResponse(
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WLAN_EID_RSN:
|
case WLAN_EID_RSN:
|
||||||
if (pFrame->pRSN == NULL) {
|
if (pFrame->pRSN == NULL)
|
||||||
pFrame->pRSN = (PWLAN_IE_RSN)pItem;
|
pFrame->pRSN = (PWLAN_IE_RSN)pItem;
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case WLAN_EID_RSN_WPA:
|
case WLAN_EID_RSN_WPA:
|
||||||
if (pFrame->pRSNWPA == NULL) {
|
if (pFrame->pRSNWPA == NULL) {
|
||||||
|
@ -858,9 +854,9 @@ vMgrDecodeAuthen(
|
||||||
pItem = (PWLAN_IE)(WLAN_HDR_A3_DATA_PTR(&(pFrame->pHdr->sA3))
|
pItem = (PWLAN_IE)(WLAN_HDR_A3_DATA_PTR(&(pFrame->pHdr->sA3))
|
||||||
+ WLAN_AUTHEN_OFF_CHALLENGE);
|
+ WLAN_AUTHEN_OFF_CHALLENGE);
|
||||||
|
|
||||||
if ((((unsigned char *)pItem) < (pFrame->pBuf + pFrame->len)) && (pItem->byElementID == WLAN_EID_CHALLENGE)) {
|
if (((unsigned char *)pItem) < (pFrame->pBuf + pFrame->len) &&
|
||||||
|
pItem->byElementID == WLAN_EID_CHALLENGE)
|
||||||
pFrame->pChallenge = (PWLAN_IE_CHALLENGE)pItem;
|
pFrame->pChallenge = (PWLAN_IE_CHALLENGE)pItem;
|
||||||
}
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue