[PATCH] ipw2200: Set the 'fixed' flags in wext get_rate
Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
61fb9ed99d
commit
455936c733
1 changed files with 1 additions and 0 deletions
|
@ -8756,6 +8756,7 @@ static int ipw_wx_get_rate(struct net_device *dev,
|
|||
struct ipw_priv *priv = ieee80211_priv(dev);
|
||||
mutex_lock(&priv->mutex);
|
||||
wrqu->bitrate.value = priv->last_rate;
|
||||
wrqu->bitrate.fixed = (priv->config & CFG_FIXED_RATE) ? 1 : 0;
|
||||
mutex_unlock(&priv->mutex);
|
||||
IPW_DEBUG_WX("GET Rate -> %d \n", wrqu->bitrate.value);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue