Skip to content
  • Johannes Berg's avatar
    mac80211: move channel switch code · cc32abd4
    Johannes Berg authored
    
    
    The channel switch code is currently in the spectrum
    management file, where arguably it belongs. However,
    it is for managed mode only and uses the structures
    for that mode only so having it in a more generic
    file can be confusing. Additionally, my next patch
    gets simpler with the code here.
    
    When/if we ever implement this for IBSS or mesh then
    we will need to rework the structures it uses anyway
    at which point we could move the code back.
    
    Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    cc32abd4