PERFORCE change 64758 for review
Sam Leffler
sam at FreeBSD.org
Tue Nov 9 15:58:58 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=64758
Change 64758 by sam at sam_ebb on 2004/11/09 23:58:56
create ibss neighbor table when adopting a station from the scan
Affected files ...
.. //depot/projects/wifi/sys/net80211/ieee80211_node.c#10 edit
Differences ...
==== //depot/projects/wifi/sys/net80211/ieee80211_node.c#10 (text+ko) ====
@@ -682,6 +682,19 @@
ic->ic_stats.is_ibss_norate++;
return 0;
}
+ /*
+ * Create the neighbor table.
+ */
+ ic->ic_sta = ieee80211_node_table_alloc(ic,
+ "neighbor", ic->ic_inact_run,
+ ieee80211_timeout_stations);
+ if (ic->ic_sta == NULL) {
+ /*
+ * Should remain in SCAN state and retry.
+ */
+ /* XXX stat+msg */
+ return 0;
+ }
}
/*
More information about the p4-projects
mailing list