projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d4682d
)
Staging: v56655: add missing parentheses (in comment)
author
Roel Kluin
<roel.kluin@gmail.com>
Wed, 6 Jan 2010 22:27:47 +0000
(23:27 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 4 Mar 2010 00:42:40 +0000
(16:42 -0800)
`!' has a higher precedence than `&' so parentheses are required.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/vt6655/iwctl.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/vt6655/iwctl.c
b/drivers/staging/vt6655/iwctl.c
index 108830ff3b328d9d7a4717fcb71b645eac7502d0..78b49830a2551b8cdf884a7090a39ec57f8dbb1d 100644
(file)
--- a/
drivers/staging/vt6655/iwctl.c
+++ b/
drivers/staging/vt6655/iwctl.c
@@
-1472,7
+1472,7
@@
if((wrq->flags & IW_ENCODE_DISABLED)==0){
if ( index < 4 ) {
pDevice->byKeyIndex = index;
}
- else if(!
wrq->flags & IW_ENCODE_MODE
) {
+ else if(!
(wrq->flags & IW_ENCODE_MODE)
) {
rc = -EINVAL;
return rc;
}