From: Jouni Malinen Date: Thu, 16 Apr 2009 15:44:53 +0000 (+0300) Subject: mac80211: Allow scan to be requested in AP mode X-Git-Tag: v2.6.31-rc1~330^2~568^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=357303e2b61272b191f2e5d782d94fdd8f50fd71;p=pandora-kernel.git mac80211: Allow scan to be requested in AP mode We can allow scan requests in AP mode as long as the interface has not yet been configured to send out Beacon frames (or if beaconing has been disabled prior to the scan request). This makes it easier to scan for neighboring BSSes during AP initialization and makes it possible to run a scan without setting the interface down, if needed. Without this change, the only available option would be to set the interface down, move into station mode, and set the interface up, prior to requesting the scan. Signed-off-by: Jouni Malinen Signed-off-by: John W. Linville --- Reading git-diff-tree failed