commit | 08f2d58d0e573d13a8eb0afbb6f3122da37b9ce3 | [log] [tgz] |
---|---|---|
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | Fri Aug 21 13:34:15 2009 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Aug 28 14:40:36 2009 -0400 |
tree | 10822731a1a25cfe8bdec396f6a76ffb6939c15d | |
parent | 02eec9c5a1d3e9a2bed5e6221970febef38fc080 [diff] |
iwlwifi: do not allow set tx power over channel power limit When setting tx power in sysfs, check against max channel tx power limit instead of IWL_TX_POWER_TARGET_POWER_MAX. Different devices have different max tx power limit; using IWL_TX_POWER_TARGET_POWER_MAX can excess the limitaion and give wrong information. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>