svn commit: r215558 - stable/8/sys/net80211

Bernhard Schmidt bschmidt at
Sat Nov 20 12:26:31 UTC 2010

Author: bschmidt
Date: Sat Nov 20 12:26:31 2010
New Revision: 215558

  MFC r215244:
  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.

Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/net80211/ieee80211_ratectl_none.c
--- stable/8/sys/net80211/ieee80211_ratectl_none.c	Sat Nov 20 12:24:26 2010	(r215557)
+++ stable/8/sys/net80211/ieee80211_ratectl_none.c	Sat Nov 20 12:26:31 2010	(r215558)
@@ -59,6 +59,7 @@ none_deinit(struct ieee80211vap *vap)
 static void
 none_node_init(struct ieee80211_node *ni)
+	ni->ni_txrate = ni->ni_rates.rs_rates[0] & IEEE80211_RATE_VAL;
 static void

More information about the svn-src-stable mailing list