From patchwork Wed May 11 21:57:26 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Rodriguez X-Patchwork-Id: 778492 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p4BLvWeC023445 for ; Wed, 11 May 2011 21:57:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755245Ab1EKV5a (ORCPT ); Wed, 11 May 2011 17:57:30 -0400 Received: from mail.atheros.com ([12.19.149.2]:57218 "EHLO mail.atheros.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754154Ab1EKV5a (ORCPT ); Wed, 11 May 2011 17:57:30 -0400 Received: from mail.atheros.com ([10.234.20.104]) by sidewinder.atheros.com for ; Wed, 11 May 2011 14:57:01 -0700 Received: from tux (10.234.35.105) by SC1EXHC-01.global.atheros.com (10.234.20.111) with Microsoft SMTP Server (TLS) id 8.2.213.0; Wed, 11 May 2011 14:57:27 -0700 Received: by tux (sSMTP sendmail emulation); Wed, 11 May 2011 14:57:27 -0700 From: "Luis R. Rodriguez" To: CC: , "Luis R. Rodriguez" , , Fiona Cain , Ray Li , Kathy Giori , Aeolus Yang , Dan Friedman Subject: [PATCH] ath9k_hw: fix dual band assumption for XB113 Date: Wed, 11 May 2011 14:57:26 -0700 Message-ID: <1305151046-13627-1-git-send-email-lrodriguez@atheros.com> X-Mailer: git-send-email 1.7.4.15.g7811d MIME-Version: 1.0 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.6 (demeter1.kernel.org [140.211.167.41]); Wed, 11 May 2011 21:57:32 +0000 (UTC) The XB113 cards are single band, 5 GHz-only, but the default settings were configured to assume it was dual band. Users of these cards then would see 2.4 GHz channels but you would never get any scan results from these channels given that the radio is not present. Cc: stable@kernel.org Cc: Fiona Cain Cc: Ray Li Cc: Kathy Giori Cc: Aeolus Yang Cc: Dan Friedman Signed-off-by: Luis R. Rodriguez --- drivers/net/wireless/ath/ath9k/ar9003_eeprom.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c index 3b13c1b..c35a68d 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c +++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c @@ -652,7 +652,7 @@ static const struct ar9300_eeprom ar9300_x113 = { .regDmn = { LE16(0), LE16(0x1f) }, .txrxMask = 0x77, /* 4 bits tx and 4 bits rx */ .opCapFlags = { - .opFlags = AR5416_OPFLAGS_11G | AR5416_OPFLAGS_11A, + .opFlags = AR5416_OPFLAGS_11A, .eepMisc = 0, }, .rfSilent = 0,