• Jouni Malinen's avatar
    mac80211: Allow scan to be requested in AP mode · 357303e2
    Jouni Malinen authored
    
    
    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: default avatarJouni Malinen <jouni.malinen@atheros.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    357303e2