From patchwork Thu Mar 3 18:44:10 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivo van Doorn X-Patchwork-Id: 606981 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 p23Imj2o021009 for ; Thu, 3 Mar 2011 18:49:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932219Ab1CCSsx (ORCPT ); Thu, 3 Mar 2011 13:48:53 -0500 Received: from mail-wy0-f174.google.com ([74.125.82.174]:35605 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754069Ab1CCSsx (ORCPT ); Thu, 3 Mar 2011 13:48:53 -0500 Received: by mail-wy0-f174.google.com with SMTP id 36so1356532wyg.19 for ; Thu, 03 Mar 2011 10:48:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=QHfgOcSY98BHdrGURmKRtyLDr+0XkguMmJojWdchNEc=; b=BOyIQUj6WGe+8v9N3nbLfVkxSGERTu6M4ylAcxkPhYJtIsGl7J/hmeItfuGy8kghu3 dm0+mwbPhfuRh7aKsEHMK8BuLxA0k1soZxXLoIdjNlNW+N6RyKuPlTvDmWT2PWdHsW8D 1OJIVTgovx00DAN2YpecKHEr9u46CRUHjcX54= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=ZTVfFRCv3w5mNPtswQdnC7y6u6gnk4UXhadjFefcHQGXvJcVXL9rcUQ5Xwkg423YTF FX+q4lp1IrY14b0CYN5gCFXp5QxqiR9roAvyHkJwNZcInO1zx2DM6+MiSxfVBvE5VmG7 C46rapxeRbNQfAZ94iFcOrBUwKpcHeNubEnCw= Received: by 10.216.158.206 with SMTP id q56mr1146284wek.108.1299178132665; Thu, 03 Mar 2011 10:48:52 -0800 (PST) Received: from localhost.localdomain (g121037.upc-g.chello.nl [80.57.121.37]) by mx.google.com with ESMTPS id j49sm738659wer.14.2011.03.03.10.48.49 (version=SSLv3 cipher=OTHER); Thu, 03 Mar 2011 10:48:51 -0800 (PST) From: Ivo van Doorn To: "John W. Linville" Subject: [PATCH 11/19] rt2x00: Use an enum instead of u16 for the rate_mode TX descriptor field Date: Thu, 3 Mar 2011 19:44:10 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.32.26-175.fc12.x86_64; KDE/4.4.5; x86_64; ; ) Cc: linux-wireless@vger.kernel.org, users@rt2x00.serialmonkey.com References: <201103031938.56423.IvDoorn@gmail.com> <201103031943.26328.IvDoorn@gmail.com> <201103031943.50656.IvDoorn@gmail.com> In-Reply-To: <201103031943.50656.IvDoorn@gmail.com> MIME-Version: 1.0 Message-Id: <201103031944.11965.IvDoorn@gmail.com> 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]); Thu, 03 Mar 2011 18:49:20 +0000 (UTC) diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.h b/drivers/net/wireless/rt2x00/rt2x00queue.h index 7f8528d..0c8b0c6 100644 --- a/drivers/net/wireless/rt2x00/rt2x00queue.h +++ b/drivers/net/wireless/rt2x00/rt2x00queue.h @@ -323,7 +323,7 @@ struct txentry_desc { } ht; } u; - u16 rate_mode; + enum rate_modulation rate_mode; short retry_limit;