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:
Roel Kluin 2010-01-06 23:27:47 +01:00 committed by Greg Kroah-Hartman
parent 9d4682d070
commit 267c39c918

View File

@ -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;
}