Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #889: madwifi-0.9.3-fix-rate-table-check.diff

File madwifi-0.9.3-fix-rate-table-check.diff, 1.3 kB (added by mtaylor, 12 years ago)

Patch for rate table too small when both XR and standard rates are retrieved from HAL into sc_xr_rates

  • madwifi/ath/if_ath.c

    old new  
    87798779        rt = sc->sc_xr_rates; 
    87808780        if (rt == NULL) 
    87818781                return 0; 
    8782         if (rt->rateCount > XR_NUM_SUP_RATES) { 
     8782        if (rt->rateCount > IEEE80211_RATE_MAXSIZE) { 
    87838783                DPRINTF(sc, ATH_DEBUG_ANY, 
    87848784                        "%s: rate table too small (%u > %u)\n", 
    87858785                        __func__, rt->rateCount, IEEE80211_RATE_MAXSIZE);