iwlwifi: give correct return information for tx power debugfs
commit0af0d04b8db7712498558541cbedeeebdbabf70f
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 26 Apr 2010 23:08:27 +0000 (26 16:08 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Mon, 10 May 2010 22:08:49 +0000 (10 15:08 -0700)
tree601dd26725cbfa6ac50c5f88dff8f096b899ad58
parent65d1f89682acf4d61dec7a8b771ed34afb7c17d9
iwlwifi: give correct return information for tx power debugfs

Return -EAGAIN when request tx power information and uCode is not ready;
so it will not confuse with tx power information not available.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-debugfs.c