aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/orinoco/orinoco.h
diff options
context:
space:
mode:
authorDavid Kilroy <kilroyd@googlemail.com>2009-08-05 16:23:32 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-08-14 09:12:45 -0400
commit4af198fb7a99b07980b1bd52df550ba3f24688df (patch)
tree8955b89e70dbf82bcf7537130f43a8a1ab2350e3 /drivers/net/wireless/orinoco/orinoco.h
parent2b2603515e26466685895e93cae59bc061389f11 (diff)
orinoco: consolidate storage of WEP and TKIP keys
When TKIP support was added, we stored the keys separately to avoid issues when both TKIP and WEP keys are sent to the driver. We need to consolidate the storage to convert to cfg80211, so do this first and try iron out the issues. 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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/orinoco/orinoco.h b/drivers/net/wireless/orinoco/orinoco.h
index badfc566524..9ac6f1dda4b 100644
--- a/drivers/net/wireless/orinoco/orinoco.h
+++ b/drivers/net/wireless/orinoco/orinoco.h
@@ -120,7 +120,8 @@ struct orinoco_private {
120 enum nl80211_iftype iw_mode; 120 enum nl80211_iftype iw_mode;
121 enum orinoco_alg encode_alg; 121 enum orinoco_alg encode_alg;
122 u16 wep_restrict, tx_key; 122 u16 wep_restrict, tx_key;
123 struct orinoco_key keys[ORINOCO_MAX_KEYS]; 123 struct key_params keys[ORINOCO_MAX_KEYS];
124
124 int bitratemode; 125 int bitratemode;
125 char nick[IW_ESSID_MAX_SIZE+1]; 126 char nick[IW_ESSID_MAX_SIZE+1];
126 char desired_essid[IW_ESSID_MAX_SIZE+1]; 127 char desired_essid[IW_ESSID_MAX_SIZE+1];
@@ -150,7 +151,6 @@ struct orinoco_private {
150 u8 *wpa_ie; 151 u8 *wpa_ie;
151 int wpa_ie_len; 152 int wpa_ie_len;
152 153
153 struct orinoco_tkip_key tkip_key[ORINOCO_MAX_KEYS];
154 struct crypto_hash *rx_tfm_mic; 154 struct crypto_hash *rx_tfm_mic;
155 struct crypto_hash *tx_tfm_mic; 155 struct crypto_hash *tx_tfm_mic;
156 156