diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2012-06-27 19:57:59 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-28 14:37:50 -0400 |
commit | 34202e28fe7fc8551313f9a035a8857db83de757 (patch) | |
tree | 74086b8a3c6c78b446b84273fc5d83bef226ffc2 /net/wireless | |
parent | 2041d7dff287333036145ba3aab57e3b675babef (diff) | |
download | op-kernel-dev-34202e28fe7fc8551313f9a035a8857db83de757.zip op-kernel-dev-34202e28fe7fc8551313f9a035a8857db83de757.tar.gz |
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 'net/wireless')
0 files changed, 0 insertions, 0 deletions