diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2010-01-06 23:27:47 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-03 16:42:40 -0800 |
commit | 267c39c918cd0c239148a281d51693f47d2e1e54 (patch) | |
tree | 50862cedd715eb278c4472fb8dfd84ea2ee91bd7 /drivers/staging/vt6655 | |
parent | 9d4682d070e1f90f75cb27dd44d9cc7ab79577f1 (diff) |
Staging: v56655: add missing parentheses (in comment)
`!' 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>
Diffstat (limited to 'drivers/staging/vt6655')
-rw-r--r-- | drivers/staging/vt6655/iwctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6655/iwctl.c b/drivers/staging/vt6655/iwctl.c index 108830ff3b3..78b49830a25 100644 --- 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; } |