Convert a few tabs to spaces, remove some pointless whitespace, add
some missing whitespace (in drivers/staging/vt6656/hostap.c).
All quite small and trivial.

Signed-off-by: Jesper Juhl <[email protected]>
---
 drivers/staging/vt6656/hostap.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/vt6656/hostap.c b/drivers/staging/vt6656/hostap.c
index bb2c3d0..1f7a860 100644
--- a/drivers/staging/vt6656/hostap.c
+++ b/drivers/staging/vt6656/hostap.c
@@ -55,7 +55,7 @@
 
 /*---------------------  Static Variables  --------------------------*/
 //static int          msglevel                =MSG_LEVEL_DEBUG;
-static int          msglevel                =MSG_LEVEL_INFO;
+static int msglevel = MSG_LEVEL_INFO;
 
 /*---------------------  Static Functions  --------------------------*/
 
@@ -115,7 +115,7 @@ static int hostap_enable_hostapd(PSDevice pDevice, int 
rtnl_locked)
        DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "%s: Registered netdevice %s for AP 
management\n",
                dev->name, pDevice->apdev->name);
 
-       KeyvInitTable(pDevice,&pDevice->sKey);
+       KeyvInitTable(pDevice, &pDevice->sKey);
        return 0;
 }
 
@@ -257,8 +257,7 @@ static int hostap_add_sta(PSDevice pDevice,
                param->sta_addr[2],
                param->sta_addr[3],
                param->sta_addr[4],
-               param->sta_addr[5]
-               );
+               param->sta_addr[5]);
        DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Max Support rate = %d \n",
                pMgmt->sNodeDBTable[uNodeIndex].wMaxSuppRate);
        return 0;
@@ -347,7 +346,7 @@ static int hostap_set_flags_sta(PSDevice pDevice,
                pMgmt->sNodeDBTable[uNodeIndex].dwFlags |= 
param->u.set_flags_sta.flags_or;
                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);
+                       (unsigned int)pMgmt->sNodeDBTable[uNodeIndex].dwFlags);
        } else {
                return -ENOENT;
        }
@@ -377,7 +376,7 @@ static int hostap_set_generic_element(PSDevice pDevice,
 
        pMgmt->wWPAIELen = param->u.generic_elem.len;
 
-       DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"pMgmt->wWPAIELen = %d\n", 
pMgmt->wWPAIELen);
+       DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "pMgmt->wWPAIELen = %d\n", 
pMgmt->wWPAIELen);
 
        // disable wpa
        if (pMgmt->wWPAIELen == 0) {
-- 
1.7.11.3


-- 
Jesper Juhl <[email protected]>       http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to