Changeset 2362

Show
Ignore:
Timestamp:
05/22/07 00:35:58 (2 years ago)
Author:
mentor
Message:

Clip XR rates to IEEE80211_MAX_RATES rather than XR_NUM_SUP_RATES

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ath/if_ath.c

    r2360 r2362  
    86568656        if (rt == NULL) 
    86578657                return 0; 
    8658         if (rt->rateCount > XR_NUM_SUP_RATES) { 
     8658        if (rt->rateCount > IEEE80211_RATE_MAXSIZE) { 
    86598659                DPRINTF(sc, ATH_DEBUG_ANY, 
    86608660                        "%s: rate table too small (%u > %u)\n",