diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-08-02 13:07:15 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:50:01 -0400 |
commit | cad9d9b17a4ab80da1593de004a1163b359de268 (patch) | |
tree | 8cd17f24d4d962af83c84165ae01874d50158e38 /drivers/net/wireless/libertas/wext.c | |
parent | b20c520763a6fe1aabde27f6ba017a67f22f90d5 (diff) |
[PATCH] libertas: remove adapter->txrate
The value of txrate was only set by a CMD_802_11_TX_RATE_QUERY command,
but there was no code in the driver that ever issued this command.
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/wext.c')
-rw-r--r-- | drivers/net/wireless/libertas/wext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/wext.c b/drivers/net/wireless/libertas/wext.c index 7d14f9c2aff6..1fb0f91e538a 100644 --- a/drivers/net/wireless/libertas/wext.c +++ b/drivers/net/wireless/libertas/wext.c | |||
@@ -949,7 +949,7 @@ static struct iw_statistics *wlan_get_wireless_stats(struct net_device *dev) | |||
949 | priv->wstats.discard.misc = le16_to_cpu(adapter->logmsg.ackfailure); | 949 | priv->wstats.discard.misc = le16_to_cpu(adapter->logmsg.ackfailure); |
950 | 950 | ||
951 | /* Calculate quality */ | 951 | /* Calculate quality */ |
952 | priv->wstats.qual.qual = min_t(u32, quality, 100); | 952 | priv->wstats.qual.qual = min_t(u8, quality, 100); |
953 | priv->wstats.qual.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM; | 953 | priv->wstats.qual.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM; |
954 | stats_valid = 1; | 954 | stats_valid = 1; |
955 | 955 | ||