From: Luis Carlos Cobo Date: Fri, 25 May 2007 17:08:33 +0000 (-0400) Subject: [PATCH] libertas: fixed incorrect assigment of fcs errors to frag errors X-Git-Tag: v2.6.22-rc5~44^2~2^2~41 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60045136ab5c4a431c05a93804cb8f054240b34e;p=linux-2.6 [PATCH] libertas: fixed incorrect assigment of fcs errors to frag errors Signed-off-by: Luis Carlos Cobo Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/libertas/wext.c b/drivers/net/wireless/libertas/wext.c index 3cbefea687..1bc2fbfe73 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;