cfg80211: fix initialization of chan->max_reg_power
authorFelix Fietkau <nbd@openwrt.org>
Wed, 17 Oct 2012 11:56:20 +0000 (13:56 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 18 Oct 2012 15:18:48 +0000 (17:18 +0200)
commit279f0f55249820d8129470c0e104084b252f26f3
tree0fb34f8e4606c379fb2d887e167a0c23acdcc51d
parentc4a9fafc77a5318f5ed26c509bbcddf03e18c201
cfg80211: fix initialization of chan->max_reg_power

A few places touch chan->max_power based on updated tx power rules, but
forget to do the same to chan->max_reg_power.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c