From patchwork Wed Aug 5 20:23:27 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave X-Patchwork-Id: 39432 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 n75KOvKf007521 for ; Wed, 5 Aug 2009 20:24:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752608AbZHEUYN (ORCPT ); Wed, 5 Aug 2009 16:24:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752541AbZHEUYN (ORCPT ); Wed, 5 Aug 2009 16:24:13 -0400 Received: from mail-ew0-f214.google.com ([209.85.219.214]:42204 "EHLO mail-ew0-f214.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752578AbZHEUYN (ORCPT ); Wed, 5 Aug 2009 16:24:13 -0400 Received: by mail-ew0-f214.google.com with SMTP id 10so285565ewy.37 for ; Wed, 05 Aug 2009 13:24:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:from:to:cc:subject :date:message-id:x-mailer:in-reply-to:references; bh=TI9+Rp2wFxwbtU7Jjy9VAWdIH/nloHywCOvm768wsZ4=; b=tSheFo+IiyxZ4D0qBjAiojDWKLtb/EQJZqqVLqNKW66wzMErILvZcGR7ctppDgR0iz MwrihH+aotXrS4vchl50LPb4O2Fz/oTuWhIQQf7Hjn/RHO52GghUTLC0fuc4HqN58DJD NZAK/5ky2yB4quEnK2lu6lS75X3W4A3lryCqQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=vgVFN03YujdoE7tuP8NkcPiaNTgPDrwxjdC3QJTJ9kSziPMZ3GHUuj14BDhcpl6IQR AXQ9WGNP53ZPfOWN3YmjivTCO0UgZHzodAX1gtbQ87z3YsMjDQSHiUQXg3IIYlhmcrH1 xM/PYrKSEt78y4zTBHoy6xINou+x/qKiMXm0Q= Received: by 10.210.79.3 with SMTP id c3mr8733713ebb.16.1249503853859; Wed, 05 Aug 2009 13:24:13 -0700 (PDT) Received: from borken (5ac998cf.bb.sky.com [90.201.152.207]) by mx.google.com with ESMTPS id 28sm2610775eye.54.2009.08.05.13.24.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 05 Aug 2009 13:24:13 -0700 (PDT) Received: by borken (sSMTP sendmail emulation); Wed, 05 Aug 2009 21:24:10 +0100 From: David Kilroy To: linux-wireless@vger.kernel.org Cc: orinoco-devel@lists.sourceforge.net, David Kilroy Subject: [PATCH 1/6] orinoco: prefer_port3 can be a single bit Date: Wed, 5 Aug 2009 21:23:27 +0100 Message-Id: <1249503812-16921-2-git-send-email-kilroyd@googlemail.com> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1249503812-16921-1-git-send-email-kilroyd@googlemail.com> References: <1249503812-16921-1-git-send-email-kilroyd@googlemail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This is a boolean value set based on firmware capabilities, so move the variable to the capabilities section and reduce the structure size. Signed-off-by: David Kilroy --- drivers/net/wireless/orinoco/orinoco.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/orinoco/orinoco.h b/drivers/net/wireless/orinoco/orinoco.h index 5f4f5c9..2a4eef1 100644 --- a/drivers/net/wireless/orinoco/orinoco.h +++ b/drivers/net/wireless/orinoco/orinoco.h @@ -107,10 +107,10 @@ struct orinoco_private { unsigned int do_fw_download:1; unsigned int broken_disableport:1; unsigned int broken_monitor:1; + unsigned int prefer_port3:1; /* Configuration paramaters */ enum nl80211_iftype iw_mode; - int prefer_port3; u16 encode_alg, wep_restrict, tx_key; struct orinoco_key keys[ORINOCO_MAX_KEYS]; int bitratemode;