Date: Tue, 9 Nov 2004 23:58:56 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 64758 for review Message-ID: <200411092358.iA9NwuRO063252@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=64758 Change 64758 by sam@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; + } } /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411092358.iA9NwuRO063252>
