From patchwork Tue Oct 6 12:33:14 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roel Kluin X-Patchwork-Id: 51916 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n96CSYhc027253 for ; Tue, 6 Oct 2009 12:28:34 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932326AbZJFMZi (ORCPT ); Tue, 6 Oct 2009 08:25:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932290AbZJFMZi (ORCPT ); Tue, 6 Oct 2009 08:25:38 -0400 Received: from ey-out-2122.google.com ([74.125.78.27]:28536 "EHLO ey-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932226AbZJFMZi (ORCPT ); Tue, 6 Oct 2009 08:25:38 -0400 Received: by ey-out-2122.google.com with SMTP id 4so783834eyf.19 for ; Tue, 06 Oct 2009 05:24:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=s7/ca42UDj0bKTOFEsOYltzoOCXdlXQk6khZnYhp7R8=; b=f5oOOFgyMBCV1bIjmXWdkqTjG+MmO1dL8TXsKSZap2XHqH30PdKirOECE8BV9htT9S 4irxfwaobdKfwJYirYy1XVxbZzgF4QMtvZPa934pPtILFMFbyhsEexRLFhSlHicfTvWO NWel9EZ8eEMjStxPDcwjemSii+4bYNKfjDv3U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=erH86r/D+YvQmDDyv37EQRdlRrlA5QmjuGZg5+2AgoFG7TOQagLgxZQbOjZvXVWDLu xsOQh5daz3o1+5ZPLGnEIAogBAedU74Vj/lzi2bO5LeNiUIhAvsXwN19vjXaJsP1FdFv sJBqKtcQAgKA20yI+q9fdFzPAsHjFUmgY6teQ= Received: by 10.210.7.21 with SMTP id 21mr4822769ebg.66.1254831869576; Tue, 06 Oct 2009 05:24:29 -0700 (PDT) Received: from zoinx.mars (d133062.upc-d.chello.nl [213.46.133.62]) by mx.google.com with ESMTPS id 7sm286988eyb.4.2009.10.06.05.24.28 (version=SSLv3 cipher=RC4-MD5); Tue, 06 Oct 2009 05:24:28 -0700 (PDT) Message-ID: <4ACB390A.9070002@gmail.com> Date: Tue, 06 Oct 2009 14:33:14 +0200 From: Roel Kluin User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: "John W. Linville" , linux-wireless@vger.kernel.org, Andrew Morton Subject: [PATCH] mac80211: fix ADM8211_SYNCTL_RFtype define Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org diff --git a/drivers/net/wireless/adm8211.h b/drivers/net/wireless/adm8211.h index 4f6ab13..b07e4d3 100644 --- a/drivers/net/wireless/adm8211.h +++ b/drivers/net/wireless/adm8211.h @@ -266,7 +266,7 @@ do { \ #define ADM8211_SYNCTL_CS1 (1 << 28) #define ADM8211_SYNCTL_CAL (1 << 27) #define ADM8211_SYNCTL_SELCAL (1 << 26) -#define ADM8211_SYNCTL_RFtype ((1 << 24) || (1 << 23) || (1 << 22)) +#define ADM8211_SYNCTL_RFtype ((1 << 24) | (1 << 23) | (1 << 22)) #define ADM8211_SYNCTL_RFMD (1 << 22) #define ADM8211_SYNCTL_GENERAL (0x7 << 22) /* SYNCTL 21:0 Data (Si4126: 18-bit data, 4-bit address) */