mac80211: Fix the maximum transmit power with power constraint
authorHong Wu <Hong.Wu@dspg.com>
Wed, 11 Jan 2012 18:34:30 +0000 (20:34 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Jan 2012 19:21:11 +0000 (14:21 -0500)
The local maximum transmit power for a channel is defined as the maximum
regulatory transmission power minus the local power constraint specified
for the channel in the Power Constraint element. (7.3.2.15 IEEE80211 2007)

Signed-off-by: Hong Wu <hong.wu@dspg.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/main.c
net/mac80211/mlme.c

Simple merge
Simple merge