mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
madwifi: fix 'bad ratekbps' message when running adhoc in .11a
SVN-Revision: 8395
This commit is contained in:
parent
8445b132ce
commit
d36b18dca4
17
package/madwifi/patches/131-minstrel_rateidx.patch
Normal file
17
package/madwifi/patches/131-minstrel_rateidx.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
Index: madwifi-ng-r2568-20070710/ath_rate/minstrel/minstrel.c
|
||||||
|
===================================================================
|
||||||
|
--- madwifi-ng-r2568-20070710.orig/ath_rate/minstrel/minstrel.c 2007-08-11 02:08:15.931956005 +0200
|
||||||
|
+++ madwifi-ng-r2568-20070710/ath_rate/minstrel/minstrel.c 2007-08-11 02:09:37.572608440 +0200
|
||||||
|
@@ -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;
|
Loading…
Reference in New Issue
Block a user