mac80211: exclude AP_VLAN interfaces from tx power calculation
authorFelix Fietkau <nbd@openwrt.org>
Thu, 10 Apr 2014 13:06:48 +0000 (15:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 May 2014 11:59:44 +0000 (13:59 +0200)
commit4dc15ca34591231e91a50b10320b6265e10aa127
tree378133015f96d74137742a626c37f40b615e24ce
parent007058ac423d001c996682baf10fed481186df37
mac80211: exclude AP_VLAN interfaces from tx power calculation

commit 764152ff66f4a8be1f9d7981e542ffdaa5bd7aff upstream.

Their power value is initialized to zero. This patch fixes an issue
where the configured power drops to the minimum value when AP_VLAN
interfaces are created/removed.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/main.c