]> git.baikalelectronics.ru Git - kernel.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)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Apr 2010 20:09:16 +0000 (16:09 -0400)
commitb02ec00f60de31d03a6b2f6996bbfd0b27231a4d
tree3b88db453d8297cf44694c176ef7129234573bb9
parentc1eb9c9f174e0e05d8e73924856021b9f7b6bbb4
mac80211: fix handling of 4-address-mode in ieee80211_change_iface

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>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c