Skip to content
  • Johannes Berg's avatar
    cfg80211: remove remain-on-channel channel type · 42d97a59
    Johannes Berg authored
    
    
    As mwifiex (and mac80211 in the software case) are the
    only drivers actually implementing remain-on-channel
    with channel type, userspace can't be relying on it.
    This is the case, as it's used only for P2P operations
    right now.
    
    Rather than adding a flag to tell userspace whether or
    not it can actually rely on it, simplify all the code
    by removing the ability to use different channel types.
    Leave only the validation of the attribute, so that if
    we extend it again later (with the needed capability
    flag), it can't break userspace sending invalid data.
    
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    42d97a59