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:32:52 +0000 (13:32 +0200)
commit6acde7cd22620cfdddc9b06103479ec03686f1f6
treee644bee3a6115d9a825c62c469f90561d0778a47
parent87000b382512cbe9d16a1eba739be9506a0c26f0
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