Skip to content
Commit ac4d82fa authored by Pontus Fuchs's avatar Pontus Fuchs Committed by Johannes Berg
Browse files

mac80211: Disallow changing chan type on monitor when CHAN_MODE_FIXED



If you add a monitor interface in parallel to a normal interface
mac80211 will let you to change the channel type on the monitor
interface even if you are connected. Add an explicit check to
disallow this.

Signed-off-by: default avatarPontus Fuchs <pontus.fuchs@gmail.com>
[fix typo in commit log, use sdata instead of netdev]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent e979e33c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment