From: Roel Kluin Date: Wed, 6 Jan 2010 22:27:47 +0000 (+0100) Subject: Staging: v56655: add missing parentheses (in comment) X-Git-Tag: v2.6.34-rc1~10^2~1^2~224 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=267c39c918cd0c239148a281d51693f47d2e1e54;p=~emulex%2Finfiniband.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 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; }