From patchwork Tue Mar 30 15:44:33 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis de Bethencourt X-Patchwork-Id: 89334 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2UFjEw1001077 for ; Tue, 30 Mar 2010 15:45:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754497Ab0C3Pon (ORCPT ); Tue, 30 Mar 2010 11:44:43 -0400 Received: from mail-bw0-f209.google.com ([209.85.218.209]:47624 "EHLO mail-bw0-f209.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753126Ab0C3Pom (ORCPT ); Tue, 30 Mar 2010 11:44:42 -0400 Received: by bwz1 with SMTP id 1so4485527bwz.21 for ; Tue, 30 Mar 2010 08:44:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :date:message-id:x-mailer:in-reply-to:references; bh=sxvsBuyZYAdG6k1tjwYxYLt7WELnsWP82wtVbvH6tB4=; b=C1Y92bYLeJDeClOwSxt3Z5muf3ZUTho6C1yXpJM3jZv2iQwzl8dVAGyfeaaPvKz/TS SAIwbfVacstxdVfz6nWoPTRPj7g8AtCd9LWlaSaDDxAy6psR9I8+VmVVIxXH8JjpNOCZ Nqj9WgrYRWjfOFCTYVCtnE+lI+8K6ywh+bhz4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; b=WmEl8eUwnr2+lccZ+EupJ9Np70DVxXQTkvUgzbRAQZ9nAUQ/xBnFhm+2vKsQX8vSOg 37wj1QWoewkQb1dJCNSGhIm0vMReP+tqB/xpLma+IvGEpfhiENe5HK+9H2t6xvFJbfy+ 50Rx5jeMkftpzDCpvImind9Bu2qLRgWCGDzeg= Received: by 10.204.32.196 with SMTP id e4mr3547433bkd.131.1269963879850; Tue, 30 Mar 2010 08:44:39 -0700 (PDT) Received: from localhost.localdomain (gmp-ea-fw-1.sun.com [192.18.1.36]) by mx.google.com with ESMTPS id s17sm48943878bkd.10.2010.03.30.08.44.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Mar 2010 08:44:39 -0700 (PDT) From: Luis de Bethencourt To: linville@tuxdriver.com, lrodriguez@atheros.com Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Luis de Bethencourt Subject: [PATCH 2/2] ath: fix code readability in regd.c Date: Tue, 30 Mar 2010 16:44:33 +0100 Message-Id: <1269963873-2070-1-git-send-email-luisbg@ubuntu.com> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: References: Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 30 Mar 2010 15:45:15 +0000 (UTC) diff --git a/drivers/net/wireless/ath/regd.c b/drivers/net/wireless/ath/regd.c index 04abd1f..d5c2332 100644 --- a/drivers/net/wireless/ath/regd.c +++ b/drivers/net/wireless/ath/regd.c @@ -51,6 +51,7 @@ #define ATH9K_5GHZ_ALL ATH9K_5GHZ_5150_5350, \ ATH9K_5GHZ_5470_5850 + /* This one skips what we call "mid band" */ #define ATH9K_5GHZ_NO_MIDBAND ATH9K_5GHZ_5150_5350, \ ATH9K_5GHZ_5725_5850 @@ -361,7 +362,7 @@ EXPORT_SYMBOL(ath_reg_notifier_apply); static bool ath_regd_is_eeprom_valid(struct ath_regulatory *reg) { - u16 rd = ath_regd_get_eepromRD(reg); + u16 rd = ath_regd_get_eepromRD(reg); int i; if (rd & COUNTRY_ERD_FLAG) {