logo       
Google Custom Search
    AddThis Social Bookmark Button

revision 2362 committed: msg#00056

Subject: revision 2362 committed
Project     : madwifi
Revision    : 2362
Author      : mentor (Matthew W. S. Bell)
Date        : 2007-05-22 00:35:58 +0200 (Tue, 22 May 2007)

Log Message :
Clip XR rates to IEEE80211_MAX_RATES rather than XR_NUM_SUP_RATES

Signed-off-by: Michael Taylor (mike.taylor@xxxxxxxxxxx)

Affected Files:
* trunk/ath/if_ath.c                                  updated             


Modified: trunk/ath/if_ath.c
===================================================================
--- trunk/ath/if_ath.c  2007-05-21 17:42:47 UTC (rev 2361)
+++ trunk/ath/if_ath.c  2007-05-21 22:35:58 UTC (rev 2362)
@@ -8655,7 +8655,7 @@
        rt = sc->sc_xr_rates;
        if (rt == NULL)
                return 0;
-       if (rt->rateCount > XR_NUM_SUP_RATES) {
+       if (rt->rateCount > IEEE80211_RATE_MAXSIZE) {
                DPRINTF(sc, ATH_DEBUG_ANY,
                        "%s: rate table too small (%u > %u)\n",
                        __func__, rt->rateCount, IEEE80211_RATE_MAXSIZE);

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>