summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/hostap.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-03-18 20:55:37 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-25 11:16:16 -0700
commit5e0cc8a231be82b0ec44cdf2a406b1a97dd3c971 (patch)
tree9225bb9e3cd826e70d282cb05e6d7d174a864726 /drivers/staging/vt6655/hostap.c
parentf2046f93db0918f99875853772142143590ba0c6 (diff)
downloadlinux-stable-5e0cc8a231be82b0ec44cdf2a406b1a97dd3c971.tar.gz
linux-stable-5e0cc8a231be82b0ec44cdf2a406b1a97dd3c971.tar.bz2
linux-stable-5e0cc8a231be82b0ec44cdf2a406b1a97dd3c971.zip
staging: vt6655: Convert to kernel brace style
Move braces around to be more kernel like. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/hostap.c')
-rw-r--r--drivers/staging/vt6655/hostap.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/staging/vt6655/hostap.c b/drivers/staging/vt6655/hostap.c
index 0d42159a7045..71e50568f1d3 100644
--- a/drivers/staging/vt6655/hostap.c
+++ b/drivers/staging/vt6655/hostap.c
@@ -214,8 +214,7 @@ static int hostap_remove_sta(PSDevice pDevice,
if (BSSDBbIsSTAInNodeDB(pDevice->pMgmt, param->sta_addr, &uNodeIndex)) {
BSSvRemoveOneNode(pDevice, uNodeIndex);
- }
- else {
+ } else {
return -ENOENT;
}
return 0;
@@ -305,8 +304,7 @@ static int hostap_get_info_sta(PSDevice pDevice,
(jiffies - pMgmt->sNodeDBTable[uNodeIndex].ulLastRxJiffer) / HZ;
//param->u.get_info_sta.txexc = pMgmt->sNodeDBTable[uNodeIndex].uTxAttempts;
- }
- else {
+ } else {
return -ENOENT;
}
@@ -336,8 +334,7 @@ static int hostap_get_info_sta(PSDevice pDevice,
if (BSSDBbIsSTAInNodeDB(pMgmt, param->sta_addr, &uNodeIndex)) {
pMgmt->sNodeDBTable[uNodeIndex].uTxAttempts = 0;
- }
- else {
+ } else {
return -ENOENT;
}
@@ -369,8 +366,7 @@ static int hostap_set_flags_sta(PSDevice pDevice,
pMgmt->sNodeDBTable[uNodeIndex].dwFlags &= param->u.set_flags_sta.flags_and;
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO " dwFlags = %x \n",
(unsigned int)pMgmt->sNodeDBTable[uNodeIndex].dwFlags);
- }
- else {
+ } else {
return -ENOENT;
}