insure basic rate bit is set in derived rate set; this
works around a protocol/firmware problem with some versions found in hermes/prism cards
This commit is contained in:
parent
63beab8306
commit
fce2da8b66
@ -256,8 +256,17 @@ ieee80211_fix_rate(struct ieee80211com *ic, struct ieee80211_node *ni, int flags
|
||||
* Check against supported rates.
|
||||
*/
|
||||
for (j = 0; j < srs->rs_nrates; j++) {
|
||||
if (r == RV(srs->rs_rates[j]))
|
||||
if (r == RV(srs->rs_rates[j])) {
|
||||
/*
|
||||
* Overwrite with the supported rate
|
||||
* value so any basic rate bit is set.
|
||||
* This insures that response we send
|
||||
* to stations have the necessary basic
|
||||
* rate bit set.
|
||||
*/
|
||||
nrs->rs_rates[i] = srs->rs_rates[j];
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (j == srs->rs_nrates) {
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user