From: Roel Kluin Date: Wed, 6 Jan 2010 22:27:47 +0000 (+0100) Subject: Staging: v56655: add missing parentheses (in comment) X-Git-Tag: MMI-PSA29.97-13-9~24618^2~1^2~224 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=267c39c918cd0c239148a281d51693f47d2e1e54;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: v56655: add missing parentheses (in comment) `!' has a higher precedence than `&' so parentheses are required. Signed-off-by: Roel Kluin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/iwctl.c b/drivers/staging/vt6655/iwctl.c index 108830ff3b32..78b49830a255 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; }