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)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 11 Apr 2014 07:37:41 +0000 (09:37 +0200)
commit764152ff66f4a8be1f9d7981e542ffdaa5bd7aff
tree93b567d6fd885a6d89a2dbc96bcc7d6c9bed00a5
parent990baec022ccb97b6bb4185624f4fe7cd6150333
mac80211: exclude AP_VLAN interfaces from tx power calculation

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.

Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/main.c