From: Amitkumar Karwar Date: Thu, 28 Jun 2012 02:57:59 +0000 (-0700) Subject: mwifiex: retrieve correct max_power information in reg_notifier handler X-Git-Tag: v3.6-rc1~125^2~57^2~210 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34202e28fe7fc8551313f9a035a8857db83de757;p=pandora-kernel.git 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 Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed