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
  • iwlwifi
  • iwl-core.c
Find file BlameHistoryPermalink
  • Wey-Yi Guy's avatar
    iwlwifi: clean up unused NL80211_IFTYPE_MONITOR for Monitor mode · 279b05d4
    Wey-Yi Guy authored Apr 20, 2009
    
    
    This patch clean up the code for NL80211_IFTYPE_MONITOR mode,
    priv->iw_mode is set in add_interface, but add_interface is never called
    for monitor mode.
    The only way mac80211 informs us about monitor mode is through
    configuring filter; since iw_mode will never set to
    NL80211_IFTYPE_MONITOR, modify and remove all the code refer to
    NL80211_IFTYPE_MONITOR and replace with iwl_is_monitor_mode() function
    call.
    
    Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
    Signed-off-by: default avatarReinette Chatre <reinette.chatre@intel.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    279b05d4