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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=60045136ab5c4a431c05a93804cb8f054240b34e;p=linux-beck.git [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 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;