Commit 0ece35b5 authored by Zhu Yi's avatar Zhu Yi Committed by James Ketrenos

[Bug 701] Fix a misuse of ieee->mode with ieee->iw_mode.

Signed-off-by: default avatarZhu Yi <yi.zhu@intel.com>
parent caeff81b
...@@ -8223,7 +8223,7 @@ static int ipw_sw_reset(struct ipw_priv *priv, int init) ...@@ -8223,7 +8223,7 @@ static int ipw_sw_reset(struct ipw_priv *priv, int init)
priv->power_mode = IPW_POWER_AC; priv->power_mode = IPW_POWER_AC;
priv->tx_power = IPW_TX_POWER_DEFAULT; priv->tx_power = IPW_TX_POWER_DEFAULT;
return old_mode == priv->ieee->mode; return old_mode == priv->ieee->iw_mode;
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment