[Bug 701] Fix a misuse of ieee->mode with ieee->iw_mode.
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
This commit is contained in:
parent
caeff81b4e
commit
0ece35b557
|
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue