aboutsummaryrefslogtreecommitdiffstats
path: root/net/nfc/llcp/sock.c
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2012-06-27 19:57:59 -0700
committerJohn W. Linville <linville@tuxdriver.com>2012-06-28 14:37:50 -0400
commit34202e28fe7fc8551313f9a035a8857db83de757 (patch)
tree74086b8a3c6c78b446b84273fc5d83bef226ffc2 /net/nfc/llcp/sock.c
parentmwifiex: do not advertise custom regulatory domain capability (diff)
downloadlinux-dev-34202e28fe7fc8551313f9a035a8857db83de757.tar.xz
linux-dev-34202e28fe7fc8551313f9a035a8857db83de757.zip
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/nfc/llcp/sock.c')
0 files changed, 0 insertions, 0 deletions