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: remove cfg_workqueue · 38c9d664
    Amitkumar Karwar authored Dec 13, 2011
    
    
    cfg_workqueue was added to notify cfg80211 that scan, connect
    or disconnect is done by calling respective completion handlers.
    We can avoid use of this workqueue by calling those handlers
    from other places.
    1) Call connect, disconnect completion handlers in their callback
       functions.
       ex. Call cfg80211_connect_result() in mwifiex_cfg80211_connect()
    2) Call scan completion handler after parsing response of last scan
       command in a queue.
    
    After removing the workqueue, variables (assoc_request etc.) and
    checks used for mutual exclusion become redundant. Those are also
    removed in this patch.
    
    Signed-off-by: default avatarAmitkumar Karwar <akarwar@marvell.com>
    Signed-off-by: default avatarYogesh Ashok Powar <yogeshp@marvell.com>
    Signed-off-by: default avatarNishant Sarmukadam <nishants@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>
    38c9d664