[PATCH] libertas: fixed incorrect assigment of fcs errors to frag errors

Luis Carlos Cobo Rus luiscarlos at gmail.com
Tue Mar 13 20:29:50 EDT 2007


Signed-off-by: Luis Carlos Cobo <luisca at cozybit.com>
---
 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 a0d34a7..bbded15 100644
--- a/drivers/net/wireless/libertas/wext.c
+++ b/drivers/net/wireless/libertas/wext.c
@@ -1503,7 +1503,7 @@ static struct iw_statistics *wlan_get_wi
        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;

--
1.4.3


-- 
Luis Carlos Cobo Rus       GnuPG ID: 44019B60
cozybit Inc.



More information about the libertas-dev mailing list