diff options
author | Zhu Yi <yi.zhu@intel.com> | 2006-04-13 05:20:05 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-04-24 16:15:55 -0400 |
commit | 455936c73337c1c9abeac8c4da1c109a0250ab68 (patch) | |
tree | e2f5c6bfa7aa58387fa3544c7d1705b6363d58b2 /drivers/net/wireless | |
parent | 61fb9ed99dc8876cb118bd9ab46b535ca8c820e8 (diff) |
[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>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ipw2200.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 7fceea64736e..79d1a13ab72c 100644 --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c | |||
@@ -8756,6 +8756,7 @@ static int ipw_wx_get_rate(struct net_device *dev, | |||
8756 | struct ipw_priv *priv = ieee80211_priv(dev); | 8756 | struct ipw_priv *priv = ieee80211_priv(dev); |
8757 | mutex_lock(&priv->mutex); | 8757 | mutex_lock(&priv->mutex); |
8758 | wrqu->bitrate.value = priv->last_rate; | 8758 | wrqu->bitrate.value = priv->last_rate; |
8759 | wrqu->bitrate.fixed = (priv->config & CFG_FIXED_RATE) ? 1 : 0; | ||
8759 | mutex_unlock(&priv->mutex); | 8760 | mutex_unlock(&priv->mutex); |
8760 | IPW_DEBUG_WX("GET Rate -> %d \n", wrqu->bitrate.value); | 8761 | IPW_DEBUG_WX("GET Rate -> %d \n", wrqu->bitrate.value); |
8761 | return 0; | 8762 | return 0; |