Return-path: Received: from smtp-out0.tiscali.nl ([195.241.79.175]:60943 "EHLO smtp-out0.tiscali.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751352AbXJZUSN (ORCPT ); Fri, 26 Oct 2007 16:18:13 -0400 Received: from [82.171.216.234] (helo=[192.168.1.2]) by smtp-out0.tiscali.nl with esmtp (Tiscali http://www.tiscali.nl) id 1IlVdE-0003wY-NL for ; Fri, 26 Oct 2007 22:18:12 +0200 Message-ID: <47224B82.5030704@tiscali.nl> (sfid-20071026_211817_024125_D77E1813) Date: Fri, 26 Oct 2007 22:18:10 +0200 From: Roel Kluin <12o3l@tiscali.nl> MIME-Version: 1.0 To: linux-wireless@vger.kernel.org Subject: Re: [PATCH split 6/8] fix 'and' typo's References: <4722453E.2090801@tiscali.nl> <472248AC.7080201@tiscali.nl> In-Reply-To: <472248AC.7080201@tiscali.nl> Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: could be an error due to the splitting, of this and the former patch? Then reply for another one. -- Fix priority mistakes similar to '!x & y' Signed-off-by: Roel Kluin <12o3l@tiscali.nl> --- diff --git a/drivers/net/wireless/prism54/isl_ioctl.c b/drivers/net/wireless/prism54/isl_ioctl.c index 6d80ca4..b9d0073 100644 --- a/drivers/net/wireless/prism54/isl_ioctl.c +++ b/drivers/net/wireless/prism54/isl_ioctl.c @@ -2610,7 +2610,7 @@ prism2_ioctl_set_encryption(struct net_device *dev, mgt_set_request(priv, DOT11_OID_DEFKEYID, 0, &index); } else { - if (!param->u.crypt.flags & IW_ENCODE_MODE) { + if (!(param->u.crypt.flags & IW_ENCODE_MODE)) { /* we cannot do anything. Complain. */ return -EINVAL; }