diff options
author | Johannes Berg | 2014-02-12 21:47:44 +0100 |
---|---|---|
committer | Emmanuel Grumbach | 2014-02-13 12:49:44 +0100 |
commit | 4ed735e7599e60add8b04669a3ff6af69a31f769 (patch) | |
tree | d7b13a65976a6b4c6ed96a960ec999168b673ed5 /drivers/net/wireless/iwlwifi/mvm/debugfs.c | |
parent | iwlwifi: mvm: new NVM format in family 8000 (diff) | |
download | kernel-qcow2-linux-4ed735e7599e60add8b04669a3ff6af69a31f769.tar.gz kernel-qcow2-linux-4ed735e7599e60add8b04669a3ff6af69a31f769.tar.xz kernel-qcow2-linux-4ed735e7599e60add8b04669a3ff6af69a31f769.zip |
iwlwifi: remove iwl_fw_valid_(tx|rx)_ant inlines
These inlines are pretty pointless now as they just return a
fixed struct value, remove them - the code even gets shorter.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Eran Harary <eran.harary@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/debugfs.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/debugfs.c b/drivers/net/wireless/iwlwifi/mvm/debugfs.c index 9b9833720a24..3278b4890823 100644 --- a/drivers/net/wireless/iwlwifi/mvm/debugfs.c +++ b/drivers/net/wireless/iwlwifi/mvm/debugfs.c @@ -591,7 +591,7 @@ iwl_dbgfs_scan_ant_rxchain_write(struct iwl_mvm *mvm, char *buf, return -EINVAL; if (scan_rx_ant > ANT_ABC) return -EINVAL; - if (scan_rx_ant & ~iwl_fw_valid_rx_ant(mvm->fw)) + if (scan_rx_ant & ~mvm->fw->valid_rx_ant) return -EINVAL; mvm->scan_rx_ant = scan_rx_ant; |