From 60045136ab5c4a431c05a93804cb8f054240b34e Mon Sep 17 00:00:00 2001 From: Luis Carlos Cobo Date: Fri, 25 May 2007 13:08:33 -0400 Subject: [PATCH] [PATCH] libertas: fixed incorrect assigment of fcs errors to frag errors Signed-off-by: Luis Carlos Cobo Signed-off-by: John W. Linville --- drivers/net/wireless/libertas/wext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/libertas/wext.c b/drivers/net/wireless/libertas/wext.c index 3cbefea68738..1bc2fbfe730f 100644 --- a/drivers/net/wireless/libertas/wext.c +++ b/drivers/net/wireless/libertas/wext.c @@ -1186,7 +1186,7 @@ static struct iw_statistics *wlan_get_wireless_stats(struct net_device *dev) quality = min(quality, tx_qual); priv->wstats.discard.code = adapter->logmsg.wepundecryptable; - priv->wstats.discard.fragment = adapter->logmsg.fcserror; + priv->wstats.discard.fragment = adapter->logmsg.rxfrag; priv->wstats.discard.retries = tx_retries; priv->wstats.discard.misc = adapter->logmsg.ackfailure; -- 2.30.2