Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 455936c7 authored by Zhu Yi's avatar Zhu Yi Committed by John W. Linville
Browse files

[PATCH] ipw2200: Set the 'fixed' flags in wext get_rate

parent 61fb9ed9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;