]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mac80211: fix handling of 4-address-mode in ieee80211_change_iface
authorFelix Fietkau <nbd@openwrt.org>
Mon, 26 Apr 2010 22:26:34 +0000 (00:26 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:22:13 +0000 (11:22 -0700)
commit787b18bfea20bb38b610258564e43b51f4f04041
tree5e47807a0955cf7f85499f83f3806aa393814660
parent6f6dcf87b07b45fca26ad170ca9714d2ae09dc3f
mac80211: fix handling of 4-address-mode in ieee80211_change_iface

commit f7917af92024d43bc20bc1afc92de27b0bd0f50b upstream.

A misplaced interface type check bails out too early if the interface
is not in monitor mode. This patch moves it to the right place, so that
it only covers changes to the monitor flags.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/mac80211/cfg.c