summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/iwctl.c
diff options
context:
space:
mode:
authorAndres More2010-08-03 04:35:57 +0200
committerGreg Kroah-Hartman2010-08-31 20:13:56 +0200
commitbd2bc4c763db8a9c6eeef0d2cf6f384514b6cb6c (patch)
tree5cdc5cf2e2d4b7090c22cbe8413e7e75f77bcd77 /drivers/staging/vt6656/iwctl.c
parentstaging: Drop unnecessary null test (diff)
downloadkernel-qcow2-linux-bd2bc4c763db8a9c6eeef0d2cf6f384514b6cb6c.tar.gz
kernel-qcow2-linux-bd2bc4c763db8a9c6eeef0d2cf6f384514b6cb6c.tar.xz
kernel-qcow2-linux-bd2bc4c763db8a9c6eeef0d2cf6f384514b6cb6c.zip
staging: vt6656: added spaces around '||'
Cleared checkpatch ERROR: spaces required around that '||' Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656/iwctl.c')
-rw-r--r--drivers/staging/vt6656/iwctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/vt6656/iwctl.c b/drivers/staging/vt6656/iwctl.c
index 016b8e7766f3..3922a81d30db 100644
--- a/drivers/staging/vt6656/iwctl.c
+++ b/drivers/staging/vt6656/iwctl.c
@@ -1598,7 +1598,8 @@ int iwctl_siwauth(struct net_device *dev,
pDevice->eEncryptionStatus = Ndis802_11Encryption3Enabled;
}else if(pairwise == IW_AUTH_CIPHER_TKIP){
pDevice->eEncryptionStatus = Ndis802_11Encryption2Enabled;
- }else if(pairwise == IW_AUTH_CIPHER_WEP40||pairwise == IW_AUTH_CIPHER_WEP104){
+ } else if (pairwise == IW_AUTH_CIPHER_WEP40 ||
+ pairwise == IW_AUTH_CIPHER_WEP104) {
pDevice->eEncryptionStatus = Ndis802_11Encryption1Enabled;
}else if(pairwise == IW_AUTH_CIPHER_NONE){
//do nothing,einsn liu