mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
add a debug msg for when a fixed transmit rate is not applied because
it's not found in the sta's negotiated rate set
This commit is contained in:
parent
5434ed5af3
commit
5e86169a67
1 changed files with 9 additions and 0 deletions
|
|
@ -766,6 +766,15 @@ ath_rate_ctl_reset(struct ath_softc *sc, struct ieee80211_node *ni)
|
|||
sn->static_rix = sc->sc_rixmap[tp->ucastrate];
|
||||
break;
|
||||
}
|
||||
#ifdef IEEE80211_DEBUG
|
||||
if (sn->static_rix == -1) {
|
||||
IEEE80211_NOTE(ni->ni_vap,
|
||||
IEEE80211_MSG_RATECTL, ni,
|
||||
"%s: ucastrate %u not found, nrates %u",
|
||||
__func__, tp->ucastrate,
|
||||
ni->ni_rates.rs_nrates);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue