提交 0ece35b5 编写于 作者: Z Zhu Yi 提交者: James Ketrenos

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

Signed-off-by: NZhu Yi <yi.zhu@intel.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册