diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2012-06-28 06:57:59 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-28 22:37:50 +0400 |
commit | 34202e28fe7fc8551313f9a035a8857db83de757 (patch) | |
tree | 74086b8a3c6c78b446b84273fc5d83bef226ffc2 /drivers/net/wireless/ath/ath9k/htc_drv_main.c | |
parent | 2041d7dff287333036145ba3aab57e3b675babef (diff) | |
download | linux-34202e28fe7fc8551313f9a035a8857db83de757.tar.xz |
mwifiex: retrieve correct max_power information in reg_notifier handler
As we don't provide custom regulatory rules to cfg80211,
"chan->max_power" remains uninitialized (0dbm) and
"chan->max_reg_power" will contain maximum power for a channel
extracted from regulatory rules provided by CRDA; hence use
"chan->max_reg_power" in reg_notifier handler instead of
"chan->max_power" to set max_power in firmware.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_main.c')
0 files changed, 0 insertions, 0 deletions