diff options
author | Zhu Yi <yi.zhu@intel.com> | 2005-08-05 17:26:51 +0800 |
---|---|---|
committer | James Ketrenos <jketreno@linux.intel.com> | 2005-11-07 17:50:45 -0600 |
commit | 0ece35b557c5097c90df9e8fbf47e4da46377df1 (patch) | |
tree | 36a6b5de7924cbd2fe007fe5bf70074a906786ff /drivers/net/wireless | |
parent | caeff81b4e6479884f3cd2ced526bebd4f0c5eff (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 626e78a336e..2633e0de7f7 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) priv->power_mode = IPW_POWER_AC; priv->tx_power = IPW_TX_POWER_DEFAULT; - return old_mode == priv->ieee->mode; + return old_mode == priv->ieee->iw_mode; } /* |