From patchwork Tue Mar 8 21:36:00 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "John W. Linville" X-Patchwork-Id: 619631 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 p28LjqOW013718 for ; Tue, 8 Mar 2011 21:45:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756808Ab1CHVpt (ORCPT ); Tue, 8 Mar 2011 16:45:49 -0500 Received: from charlotte.tuxdriver.com ([70.61.120.58]:53777 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756376Ab1CHVpt (ORCPT ); Tue, 8 Mar 2011 16:45:49 -0500 Received: from uucp by smtp.tuxdriver.com with local-rmail (Exim 4.63) (envelope-from ) id 1Px4iw-0005vn-3G; Tue, 08 Mar 2011 16:45:46 -0500 Received: from linville-8530p.local (linville-8530p.local [127.0.0.1]) by linville-8530p.local (8.14.4/8.14.4) with ESMTP id p28La3PI027873; Tue, 8 Mar 2011 16:36:03 -0500 Received: (from linville@localhost) by linville-8530p.local (8.14.4/8.14.4/Submit) id p28La2Da027871; Tue, 8 Mar 2011 16:36:02 -0500 From: "John W. Linville" To: linux-wireless@vger.kernel.org Cc: me@bobcopeland.com, mickflemm@gmail.com, "John W. Linville" Subject: [PATCH] ath5k: restrict AR5K_TX_QUEUE_ID_DATA_MAX to reflect the [0, 3] range Date: Tue, 8 Mar 2011 16:36:00 -0500 Message-Id: <1299620160-27837-1-git-send-email-linville@tuxdriver.com> X-Mailer: git-send-email 1.7.4 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]); Tue, 08 Mar 2011 21:45:53 +0000 (UTC) diff --git a/drivers/net/wireless/ath/ath5k/ath5k.h b/drivers/net/wireless/ath/ath5k/ath5k.h index 0ee54eb..8a06dbd 100644 --- a/drivers/net/wireless/ath/ath5k/ath5k.h +++ b/drivers/net/wireless/ath/ath5k/ath5k.h @@ -513,7 +513,7 @@ enum ath5k_tx_queue_id { AR5K_TX_QUEUE_ID_NOQCU_DATA = 0, AR5K_TX_QUEUE_ID_NOQCU_BEACON = 1, AR5K_TX_QUEUE_ID_DATA_MIN = 0, /*IEEE80211_TX_QUEUE_DATA0*/ - AR5K_TX_QUEUE_ID_DATA_MAX = 4, /*IEEE80211_TX_QUEUE_DATA4*/ + AR5K_TX_QUEUE_ID_DATA_MAX = 3, /*IEEE80211_TX_QUEUE_DATA3*/ AR5K_TX_QUEUE_ID_DATA_SVP = 5, /*IEEE80211_TX_QUEUE_SVP - Spectralink Voice Protocol*/ AR5K_TX_QUEUE_ID_CAB = 6, /*IEEE80211_TX_QUEUE_AFTER_BEACON*/ AR5K_TX_QUEUE_ID_BEACON = 7, /*IEEE80211_TX_QUEUE_BEACON*/