From: Johannes Berg Date: Mon, 3 May 2010 06:49:48 +0000 (+0200) Subject: mac80211: improve IBSS scanning X-Git-Tag: v2.6.35-rc1~473^2~167^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be4a4b6a5d2f76393f545a2545fbaa1b65577e13;p=pandora-kernel.git mac80211: improve IBSS scanning 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed