aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/orinoco/orinoco.h
diff options
context:
space:
mode:
authorDavid Kilroy <kilroyd@googlemail.com>2009-08-05 16:23:27 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-08-14 09:12:41 -0400
commitbb7e43c061ad1e52a4738d5b45595ec9e1638b6a (patch)
treee13c35d8954ddf787ebc32dee601540d0dd310c3 /drivers/net/wireless/orinoco/orinoco.h
parenta42dd7efd934888833c01199dbd21b242100ee92 (diff)
orinoco: prefer_port3 can be a single bit
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 <kilroyd@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/orinoco/orinoco.h')
-rw-r--r--drivers/net/wireless/orinoco/orinoco.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/orinoco/orinoco.h b/drivers/net/wireless/orinoco/orinoco.h
index 5f4f5c9eef79..2a4eef1b96cc 100644
--- a/drivers/net/wireless/orinoco/orinoco.h
+++ b/drivers/net/wireless/orinoco/orinoco.h
@@ -107,10 +107,10 @@ struct orinoco_private {
107 unsigned int do_fw_download:1; 107 unsigned int do_fw_download:1;
108 unsigned int broken_disableport:1; 108 unsigned int broken_disableport:1;
109 unsigned int broken_monitor:1; 109 unsigned int broken_monitor:1;
110 unsigned int prefer_port3:1;
110 111
111 /* Configuration paramaters */ 112 /* Configuration paramaters */
112 enum nl80211_iftype iw_mode; 113 enum nl80211_iftype iw_mode;
113 int prefer_port3;
114 u16 encode_alg, wep_restrict, tx_key; 114 u16 encode_alg, wep_restrict, tx_key;
115 struct orinoco_key keys[ORINOCO_MAX_KEYS]; 115 struct orinoco_key keys[ORINOCO_MAX_KEYS];
116 int bitratemode; 116 int bitratemode;