Some device drivers calculate various timing related things based on
the currently selected rate. The calculations of course need a valid rate. To make that possible before any call to node_rate() is done, initialize ni_txrate on none_node_init() calls. MFC after: 1 week
This commit is contained in:
parent
27387daca6
commit
7438cee62e
@ -59,6 +59,7 @@ none_deinit(struct ieee80211vap *vap)
|
|||||||
static void
|
static void
|
||||||
none_node_init(struct ieee80211_node *ni)
|
none_node_init(struct ieee80211_node *ni)
|
||||||
{
|
{
|
||||||
|
ni->ni_txrate = ni->ni_rates.rs_rates[0] & IEEE80211_RATE_VAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user