From: Pontus Fuchs Date: Tue, 12 Jun 2012 12:13:19 +0000 (+0200) Subject: mac80211: Disallow changing chan type on monitor when CHAN_MODE_FIXED X-Git-Tag: v3.6-rc1~125^2~57^2~248^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac4d82fa01c194dba10b9a7c35449ba36eb642fc;p=pandora-kernel.git 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: Pontus Fuchs [fix typo in commit log, use sdata instead of netdev] Signed-off-by: Johannes Berg --- Reading git-diff-tree failed