• Tomas Winkler's avatar
    mac80211: stop queues before carrier off · 24e64622
    Tomas Winkler authored
    During testing of the disassociation fixes, Tomas noticed that it
    was possible to run into a situation where you'd suddenly get a
    few "wlan0: dropped frame to <AP> (unauthorized port)" messages
    and I found this to be due to the AP's sta_info having been
    removed but netif_carrier_off not having removed/stopped traffic
    yet. To avoid that, stop the queue for the interface (and avoid
    bringing them up when another vif scans when they weren't up.)
    Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
mlme.c 120 KB