From patchwork Thu Oct 29 00:19:06 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Rodriguez X-Patchwork-Id: 56386 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 n9T0JATX013870 for ; Thu, 29 Oct 2009 00:19:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755459AbZJ2ATE (ORCPT ); Wed, 28 Oct 2009 20:19:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755497AbZJ2ATE (ORCPT ); Wed, 28 Oct 2009 20:19:04 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:52230 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755125AbZJ2ATC (ORCPT ); Wed, 28 Oct 2009 20:19:02 -0400 Received: from mcgrof by bombadil.infradead.org with local (Exim 4.69 #1 (Red Hat Linux)) id 1N3IjK-00080p-PD; Thu, 29 Oct 2009 00:19:06 +0000 From: "Luis R. Rodriguez" To: linville@tuxdriver.com Cc: linux-wireless@vger.kernel.org, ath9k-devel@venema.h4ckr.net, "Luis R. Rodriguez" , stable@kernel.org Subject: [PATCH] ath9k: fix misplaced semicolon on rate control Date: Wed, 28 Oct 2009 20:19:06 -0400 Message-Id: <1256775546-30774-1-git-send-email-lrodriguez@atheros.com> X-Mailer: git-send-email 1.6.2.rc1.3.g81d3f 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/ath/ath9k/rc.c b/drivers/net/wireless/ath/ath9k/rc.c index 0639364..bb72b46 100644 --- a/drivers/net/wireless/ath/ath9k/rc.c +++ b/drivers/net/wireless/ath/ath9k/rc.c @@ -679,7 +679,7 @@ static u8 ath_rc_get_highest_rix(struct ath_softc *sc, return rate; if (rate_table->info[rate].valid_single_stream && - !(ath_rc_priv->ht_cap & WLAN_RC_DS_FLAG)); + !(ath_rc_priv->ht_cap & WLAN_RC_DS_FLAG)) return rate; /* This should not happen */