mac80211: improve IBSS scanning
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 3 May 2010 06:49:48 +0000 (08:49 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 3 May 2010 18:53:10 +0000 (14:53 -0400)
When IBSS is fixed to a frequency, it can still
scan to try to find the right BSSID. This makes
sense if the BSSID isn't also fixed, but it need
not scan all channels -- just one is sufficient.
Make it do that by moving the scan setup code to
ieee80211_request_internal_scan() and include
a channel variable setting.

Note that this can be further improved to start
the IBSS right away if both frequency and BSSID
are fixed.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found