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 ) {
|
if ( index < 4 ) {
|
||||||
pDevice->byKeyIndex = index;
|
pDevice->byKeyIndex = index;
|
||||||
}
|
}
|
||||||
else if(!wrq->flags & IW_ENCODE_MODE) {
|
else if(!(wrq->flags & IW_ENCODE_MODE)) {
|
||||||
rc = -EINVAL;
|
rc = -EINVAL;
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user