* [PATCH] Staging: vt6655: 80211mgr: Cleanup of brace coding style issues
@ 2013-09-28 19:03 Martin Berglund
2013-10-01 1:38 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Martin Berglund @ 2013-09-28 19:03 UTC (permalink / raw)
To: gregkh; +Cc: joe, martin, devel, linux-kernel
Cleanup of a few brace coding style issues.
Signed-off-by: Martin Berglund <martin@rogsta.net>
---
drivers/staging/vt6655/80211mgr.c | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/drivers/staging/vt6655/80211mgr.c b/drivers/staging/vt6655/80211mgr.c
index 76c8490..7949d58 100644
--- a/drivers/staging/vt6655/80211mgr.c
+++ b/drivers/staging/vt6655/80211mgr.c
@@ -165,9 +165,8 @@ vMgrDecodeBeacon(
break;
case WLAN_EID_RSN:
- if (pFrame->pRSN == NULL) {
+ if (pFrame->pRSN == NULL)
pFrame->pRSN = (PWLAN_IE_RSN)pItem;
- }
break;
case WLAN_EID_RSN_WPA:
if (pFrame->pRSNWPA == NULL) {
@@ -382,9 +381,8 @@ vMgrDecodeAssocRequest(
break;
case WLAN_EID_RSN:
- if (pFrame->pRSN == NULL) {
+ if (pFrame->pRSN == NULL)
pFrame->pRSN = (PWLAN_IE_RSN)pItem;
- }
break;
case WLAN_EID_RSN_WPA:
if (pFrame->pRSNWPA == NULL) {
@@ -556,9 +554,8 @@ vMgrDecodeReassocRequest(
break;
case WLAN_EID_RSN:
- if (pFrame->pRSN == NULL) {
+ if (pFrame->pRSN == NULL)
pFrame->pRSN = (PWLAN_IE_RSN)pItem;
- }
break;
case WLAN_EID_RSN_WPA:
if (pFrame->pRSNWPA == NULL) {
@@ -742,9 +739,8 @@ vMgrDecodeProbeResponse(
break;
case WLAN_EID_RSN:
- if (pFrame->pRSN == NULL) {
+ if (pFrame->pRSN == NULL)
pFrame->pRSN = (PWLAN_IE_RSN)pItem;
- }
break;
case WLAN_EID_RSN_WPA:
if (pFrame->pRSNWPA == NULL) {
@@ -858,9 +854,9 @@ vMgrDecodeAuthen(
pItem = (PWLAN_IE)(WLAN_HDR_A3_DATA_PTR(&(pFrame->pHdr->sA3))
+ 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;
- }
return;
}
--
1.8.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Staging: vt6655: 80211mgr: Cleanup of brace coding style issues
2013-09-28 19:03 [PATCH] Staging: vt6655: 80211mgr: Cleanup of brace coding style issues Martin Berglund
@ 2013-10-01 1:38 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2013-10-01 1:38 UTC (permalink / raw)
To: Martin Berglund; +Cc: joe, devel, linux-kernel
On Sat, Sep 28, 2013 at 09:03:24PM +0200, Martin Berglund wrote:
> Cleanup of a few brace coding style issues.
>
> Signed-off-by: Martin Berglund <martin@rogsta.net>
> ---
> drivers/staging/vt6655/80211mgr.c | 16 ++++++----------
> 1 file changed, 6 insertions(+), 10 deletions(-)
Applied, thanks.
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-01 1:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-28 19:03 [PATCH] Staging: vt6655: 80211mgr: Cleanup of brace coding style issues Martin Berglund
2013-10-01 1:38 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®