Skip to content

Commit

Permalink
[Bug 701] Fix a misuse of ieee->mode with ieee->iw_mode.
Browse files Browse the repository at this point in the history
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
  • Loading branch information
Zhu Yi authored and James Ketrenos committed Nov 7, 2005
1 parent caeff81 commit 0ece35b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ipw2200.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/*
Expand Down

0 comments on commit 0ece35b

Please sign in to comment.