Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
  • xcap-capability-linux
  • net
  • mac80211
  • mlme.c
Find file Blame History Permalink
  • Johannes Berg's avatar
    mac80211: fix associated vs. idle race · 79ebfb85
    Johannes Berg authored Feb 20, 2012
    
    
    Eliad reports that if a scan finishes in the
    middle of processing associated (however it
    happens), the interface can go idle. This is
    because we set assoc_data to NULL before we
    set associated. Change the order so any idle
    check will find either one of them.
    
    Doing this requires duplicating the TX sync
    processing, but I already have a patch to
    delete that completely and will submit that
    as soon as my driver changes to no longer
    require it are submitted.
    
    Reported-by: default avatarEliad Peller <eliad@wizery.com>
    Tested-by: default avatarEliad Peller <eliad@wizery.com>
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    79ebfb85