PERFORCE change 112697 for review
Sam Leffler
sam at FreeBSD.org
Tue Jan 9 22:16:05 PST 2007
http://perforce.freebsd.org/chv.cgi?CH=112697
Change 112697 by sam at sam_ebb on 2007/01/10 06:15:49
bandaid problem with probing the initial bss node created
in adhoc mode; if we send a null data frame w/o any rates
defined the driver may blow up; this'll get fixed properly
by setting up a proper initial rate set for the node soon
Affected files ...
.. //depot/projects/wifi/sys/net80211/ieee80211_node.c#75 edit
Differences ...
==== //depot/projects/wifi/sys/net80211/ieee80211_node.c#75 (text+ko) ====
@@ -1471,9 +1471,16 @@
* send a null data frame which may not be
* universally supported by drivers (need it
* for ps-poll support so it should be...).
+ *
+ * XXX don't probe the station unless we've
+ * received a frame from them (and have
+ * some idea of the rates they are capable
+ * of); this will get fixed more properly
+ * soon with better handling of the rate set.
*/
if (0 < ni->ni_inact &&
- ni->ni_inact <= ic->ic_inact_probe) {
+ ni->ni_inact <= ic->ic_inact_probe &&
+ ni->ni_rates.rs_nrates != 0) {
IEEE80211_NOTE(ic,
IEEE80211_MSG_INACT | IEEE80211_MSG_NODE,
ni, "%s",
More information about the p4-projects
mailing list