• Daniel Drake's avatar
    libertas: scan behaviour consistency improvements · b4c3f34a
    Daniel Drake authored
    When scanning for the broadcast SSID, there is no need to add the
    SSID TLV (restoring the behaviour of the driver behaviour in the wext
    days, confirmed in Marvell specifications).
    
    If bssid is unspecified, the current scan code will usually fire off an
    active scan probing for the specific requested SSID. However, if a scan
    is ongoing (or has just finished), those scan results will be used
    instead (even if that scan is totally different, e.g. a passive scan on
    channel 4 for a different SSID). Fix this inconsistency by always
    firing off a scan when associating without a bssid.
    Signed-off-by: default avatarDaniel Drake <dsd@laptop.org>
    Acked-by: default avatarDan Williams <dcbw@redhat.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    b4c3f34a
cfg.c 54.1 KB