aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2005-08-05 05:26:51 -0400
committerJames Ketrenos <jketreno@linux.intel.com>2005-11-07 18:50:45 -0500
commit0ece35b557c5097c90df9e8fbf47e4da46377df1 (patch)
tree36a6b5de7924cbd2fe007fe5bf70074a906786ff /drivers/net/wireless
parentcaeff81b4e6479884f3cd2ced526bebd4f0c5eff (diff)
[Bug 701] Fix a misuse of ieee->mode with ieee->iw_mode.
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ipw2200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c
index 626e78a336eb..2633e0de7f79 100644
--- a/drivers/net/wireless/ipw2200.c
+++ b/drivers/net/wireless/ipw2200.c
@@ -8223,7 +8223,7 @@ static int ipw_sw_reset(struct ipw_priv *priv, int init)
8223 priv->power_mode = IPW_POWER_AC; 8223 priv->power_mode = IPW_POWER_AC;
8224 priv->tx_power = IPW_TX_POWER_DEFAULT; 8224 priv->tx_power = IPW_TX_POWER_DEFAULT;
8225 8225
8226 return old_mode == priv->ieee->mode; 8226 return old_mode == priv->ieee->iw_mode;
8227} 8227}
8228 8228
8229/* 8229/*