From patchwork Tue Aug 7 01:14:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sujith Manoharan X-Patchwork-Id: 1282311 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id B1491DF288 for ; Tue, 7 Aug 2012 01:15:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757120Ab2HGBPk (ORCPT ); Mon, 6 Aug 2012 21:15:40 -0400 Received: from wolverine01.qualcomm.com ([199.106.114.254]:7959 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757114Ab2HGBPk (ORCPT ); Mon, 6 Aug 2012 21:15:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qca.qualcomm.com; i=@qca.qualcomm.com; q=dns/txt; s=qcdkim; t=1344302141; x=1375838141; h=from:mime-version:content-transfer-encoding:message-id: date:to:cc:subject; bh=mbhcwr6uR+cBn9FBMhh6a+NXCLMVh2eT89EdCAgQcNU=; b=wGJ/qXaQaNKTNiRONtzpw2uL0eSU6POu8qdBRcaxjSKY0W232I+jFqus jxbPDoXx6MsmALXzJEplvdetw8SFJttxSvD7jAwP2maVU5ZREOE7DGVO1 zL3WyzIILsi7VkL10kn3G5fBjBU0jgRFFSevZH3qBsCYfKbQQYIEIgTZn I=; X-IronPort-AV: E=McAfee;i="5400,1158,6795"; a="221455528" Received: from ironmsg03-r.qualcomm.com ([172.30.46.17]) by wolverine01.qualcomm.com with ESMTP; 06 Aug 2012 18:15:41 -0700 X-IronPort-AV: E=Sophos;i="4.77,723,1336374000"; d="scan'208";a="306251117" Received: from nasanexhc07.na.qualcomm.com ([172.30.39.190]) by Ironmsg03-R.qualcomm.com with ESMTP/TLS/RC4-SHA; 06 Aug 2012 18:15:41 -0700 Received: from nasanexhc05.na.qualcomm.com (172.30.48.2) by nasanexhc07.na.qualcomm.com (172.30.39.190) with Microsoft SMTP Server (TLS) id 14.2.309.2; Mon, 6 Aug 2012 18:15:40 -0700 Received: from sarge (172.30.48.1) by qcmail1.qualcomm.com (172.30.48.2) with Microsoft SMTP Server (TLS) id 14.2.309.2; Mon, 6 Aug 2012 18:15:39 -0700 From: Sujith Manoharan MIME-Version: 1.0 Message-ID: <20512.27627.335105.160676@gargle.gargle.HOWL> Date: Tue, 7 Aug 2012 06:44:19 +0530 To: X-Mailer: VM 8.2.0b under 24.1.1 (x86_64-unknown-linux-gnu) CC: Subject: [RFC 09/14] ath9k: Do not set IEEE80211_TX_RC_USE_SHORT_PREAMBLE X-Originating-IP: [172.30.48.1] Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org mac80211 does it for us. Signed-off-by: Sujith Manoharan --- drivers/net/wireless/ath/ath9k/rc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/rc.c b/drivers/net/wireless/ath/ath9k/rc.c index ed48d3d..78192c1 100644 --- a/drivers/net/wireless/ath/ath9k/rc.c +++ b/drivers/net/wireless/ath/ath9k/rc.c @@ -682,8 +682,6 @@ static void ath_rc_rate_set_series(const struct ath_rate_table *rate_table, rate->count = tries; rate->idx = rate_table->info[rix].ratecode; - if (txrc->short_preamble) - rate->flags |= IEEE80211_TX_RC_USE_SHORT_PREAMBLE; if (txrc->rts || rtsctsenable) rate->flags |= IEEE80211_TX_RC_USE_RTS_CTS;