Skip to content
GitLab
Projects Groups 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
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • 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
Switch branch/tag
  • xcap-capability-linux
  • drivers
  • net
  • wireless
  • mwifiex
  • main.h
Find file BlameHistoryPermalink
  • Amitkumar Karwar's avatar
    mwifiex: fix simultaneous assoc and scan issue · 57f16b5d
    Amitkumar Karwar authored May 03, 2011
    
    
    When scan and assoc (infra/ibss) commands are simultaneously
    given in two terminals, association response is erroneously
    served while serving the scan response.
    
    mwifiex_cfg80211_results() is the common routine for sending
    ioctl (scan, assoc etc.) results to cfg80211 stack. In above
    scenario even if the common routine is called for scan ioctl
    context, it also tries to send information about assoc ioctl to
    cfg80211 because "priv->assoc_request/priv->ibss_join_request"
    flag is on at that time.
    
    Fix the issue by updating request variable after assoc handling
    and modifying the variable check in mwifiex_cfg80211_results.
    
    Signed-off-by: default avatarAmitkumar Karwar <akarwar@marvell.com>
    Signed-off-by: default avatarKiran Divekar <dkiran@marvell.com>
    Signed-off-by: default avatarBing Zhao <bzhao@marvell.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    57f16b5d