• Johannes Berg's avatar
    mac80211: don't try to do anything on unchanged genIE · 175427ce
    Johannes Berg authored
    When the genIE hasn't changed there's no reason to kick
    the state machine since it won't be able to do anything
    new -- doing this decreases the useless work we do for
    reassociating because if we do kick the state machine
    it will try to find a usable BSS but there might not be
    one because wpa_supplicant will only change the BSSID
    a little later.
    
    In a sense this is a workaround for userspace behaviour,
    but on the other hand userspace cannot really keep track
    of what the kernel currently has for genIE since any
    process could have changed that while wpa_supplicant
    wasn't looking.
    Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    175427ce
wext.c 19.1 KB