]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iwlwifi: indicate txpower is off in sysfs
authorJay Sternberg <jay.e.sternberg@linux.intel.com>
Wed, 17 Dec 2008 08:52:34 +0000 (16:52 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Dec 2008 20:23:42 +0000 (15:23 -0500)
commit91f39e8eea725347b6a82d1e35e512ec8b298b0b
tree7fa577f135b1a1a45e794c066a6b58eb46ea2c77
parentf1bc4ac61f2c08515afd80c6dc3962aa6d0b138b
iwlwifi: indicate txpower is off in sysfs

The patch checks if the radio is disabled before displaying the tx power
level. Previously when the txpower was set off show_tx_power still
returned the prior power level. Now it will indicate the power has been
turned off.

Signed-off-by: Jay Sternberg <jay.e.sternberg@linux.intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c