mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-14 09:25:12 +00:00
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>
This commit is contained in:
parent
9d4682d070
commit
267c39c918
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user