]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfa751baefae8691216f414c9a99a4e52f0d336dd
tree0fb34f8e4606c379fb2d887e167a0c23acdcc51d
parentc73599c438a813ed9c4ea227f5b139f19dd8e595
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