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, 5 years ago) |
|---|
-
madwifi/ath/if_ath.c
old new 8779 8779 rt = sc->sc_xr_rates; 8780 8780 if (rt == NULL) 8781 8781 return 0; 8782 if (rt->rateCount > XR_NUM_SUP_RATES) {8782 if (rt->rateCount > IEEE80211_RATE_MAXSIZE) { 8783 8783 DPRINTF(sc, ATH_DEBUG_ANY, 8784 8784 "%s: rate table too small (%u > %u)\n", 8785 8785 __func__, rt->rateCount, IEEE80211_RATE_MAXSIZE);
