From patchwork Fri Aug 10 11:16:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sujith Manoharan X-Patchwork-Id: 1305031 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 D66AFDF215 for ; Fri, 10 Aug 2012 11:18:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751901Ab2HJLSH (ORCPT ); Fri, 10 Aug 2012 07:18:07 -0400 Received: from wolverine01.qualcomm.com ([199.106.114.254]:63244 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751151Ab2HJLSE (ORCPT ); Fri, 10 Aug 2012 07:18:04 -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=1344597485; x=1376133485; h=from:mime-version:content-transfer-encoding:message-id: date:to:cc:subject; bh=mbhcwr6uR+cBn9FBMhh6a+NXCLMVh2eT89EdCAgQcNU=; b=acObf/78uY9a3xuYS6bK1RJWn0aKO+KKCs328f/flf9N8xQ/7Oex38KL Eb5b05QN264cpqM826tTrohWCfZ3fjraePqvfmWWZQn/UoA/7GdOtFYaF JcqL0rPbnRt0fgXms5RRzJIMjEpRUFv3RV9+LMHTm6BP71DG4Ei1nZUDa Y=; X-IronPort-AV: E=McAfee;i="5400,1158,6798"; a="223736358" Received: from ironmsg03-r.qualcomm.com ([172.30.46.17]) by wolverine01.qualcomm.com with ESMTP; 10 Aug 2012 04:18:05 -0700 X-IronPort-AV: E=Sophos;i="4.77,745,1336374000"; d="scan'208";a="309515083" Received: from nasanexhc04.na.qualcomm.com ([172.30.48.17]) by Ironmsg03-R.qualcomm.com with ESMTP/TLS/RC4-SHA; 10 Aug 2012 04:18:05 -0700 Received: from alfalfa (172.30.48.1) by qcmail1.qualcomm.com (172.30.48.17) with Microsoft SMTP Server (TLS) id 14.2.309.2; Fri, 10 Aug 2012 04:18:03 -0700 From: Sujith Manoharan MIME-Version: 1.0 Message-ID: <20516.60834.610230.197582@gargle.gargle.HOWL> Date: Fri, 10 Aug 2012 16:46:50 +0530 To: X-Mailer: VM 8.2.0b under 24.1.1 (x86_64-unknown-linux-gnu) CC: Subject: [PATCH 09/15] 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;