summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_node.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2005-07-22 21:11:26 +0000
committersam <sam@FreeBSD.org>2005-07-22 21:11:26 +0000
commite4bb8fb68f00d88f5362f278abb4cd2e326285f7 (patch)
tree2cd048b051600ca3675d42b8b6ea39c9bd58c781 /sys/net80211/ieee80211_node.c
parentbd0efadacda73f031838bab860b64bc4f02b89c4 (diff)
downloadFreeBSD-src-e4bb8fb68f00d88f5362f278abb4cd2e326285f7.zip
FreeBSD-src-e4bb8fb68f00d88f5362f278abb4cd2e326285f7.tar.gz
split xmit of probe request frame out into a separate routine that
takes explicit parameters; this will be needed when scanning is decoupled from the state machine to do bg scanning MFC after: 3 days
Diffstat (limited to 'sys/net80211/ieee80211_node.c')
-rw-r--r--sys/net80211/ieee80211_node.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/net80211/ieee80211_node.c b/sys/net80211/ieee80211_node.c
index a2fe867..29b8d99 100644
--- a/sys/net80211/ieee80211_node.c
+++ b/sys/net80211/ieee80211_node.c
@@ -335,22 +335,7 @@ ieee80211_next_scan(struct ieee80211com *ic)
ieee80211_chan2ieee(ic, ic->ic_bss->ni_chan),
ieee80211_chan2ieee(ic, chan));
ieee80211_set_chan(ic, ic->ic_bss, chan);
-#ifdef notyet
- /* XXX driver state change */
- /*
- * Scan next channel. If doing an active scan
- * and the channel is not marked passive-only
- * then send a probe request. Otherwise just
- * listen for beacons on the channel.
- */
- if ((ic->ic_flags & IEEE80211_F_ASCAN) &&
- (ni->ni_chan->ic_flags & IEEE80211_CHAN_PASSIVE) == 0) {
- IEEE80211_SEND_MGMT(ic, ni,
- IEEE80211_FC0_SUBTYPE_PROBE_REQ, 0);
- }
-#else
ieee80211_new_state(ic, IEEE80211_S_SCAN, -1);
-#endif
return 1;
}
} while (chan != ic->ic_bss->ni_chan);
OpenPOWER on IntegriCloud