2007-08-11 00:16:10 +00:00
|
|
|
Index: madwifi-ng-r2568-20070710/ath_rate/minstrel/minstrel.c
|
|
|
|
===================================================================
|
2007-10-20 19:13:53 +00:00
|
|
|
--- madwifi-ng-r2568-20070710.orig/ath_rate/minstrel/minstrel.c 2007-10-20 20:52:09.000000000 +0200
|
|
|
|
+++ madwifi-ng-r2568-20070710/ath_rate/minstrel/minstrel.c 2007-10-20 20:52:46.000000000 +0200
|
2007-08-11 00:16:10 +00:00
|
|
|
@@ -675,6 +675,12 @@
|
|
|
|
}
|
|
|
|
|
|
|
|
for (x = 0; x < ni->ni_rates.rs_nrates; x++) {
|
|
|
|
+ if (sn->rates[x].rix == 0xff) {
|
|
|
|
+ DPRINTF(sc, "%s: %s ignore bogus rix at %d\n",
|
|
|
|
+ dev_info, __func__, x);
|
|
|
|
+ continue;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
sn->rs_rateattempts [x] = 0;
|
|
|
|
sn->rs_thisprob [x] = 0;
|
|
|
|
sn->rs_ratesuccess [x] = 0;
|