[PATCH] libertas: fixed incorrect assigment of fcs errors to frag errors
authorLuis Carlos Cobo <luisca@cozybit.com>
Fri, 25 May 2007 17:08:33 +0000 (13:08 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Jun 2007 18:28:40 +0000 (14:28 -0400)
Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/wext.c

index 3cbefea68738e6b138d28be7dcf58d20d19d5d77..1bc2fbfe730f84f705857e5143673623b7a07260 100644 (file)
@@ -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;