diff options
author | Moshe Harel <moshe.harel@intel.com> | 2014-12-08 14:13:14 -0500 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-12-28 13:00:12 -0500 |
commit | a054427244158552e91dacc0a4fc0a1b5e7342b9 (patch) | |
tree | d2d789644dbe031ba3fd32497e2c5336bf035339 /drivers/net/wireless/iwlwifi/mvm/debugfs.c | |
parent | 7074cc4280463c27161a1eba89dfaa01685161bd (diff) |
iwlwifi: mvm: support LnP 1x1 antenna configuration
The antenna configuration has to be read also from OTP
Currently read only from FW image
Guideline: An antenna exists only if appears both in FW image & NVM
Signed-off-by: Moshe Harel <moshe.harel@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@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 33bf915cd7ea..0507647228af 100644 --- a/drivers/net/wireless/iwlwifi/mvm/debugfs.c +++ b/drivers/net/wireless/iwlwifi/mvm/debugfs.c | |||
@@ -933,7 +933,7 @@ iwl_dbgfs_scan_ant_rxchain_write(struct iwl_mvm *mvm, char *buf, | |||
933 | return -EINVAL; | 933 | return -EINVAL; |
934 | if (scan_rx_ant > ANT_ABC) | 934 | if (scan_rx_ant > ANT_ABC) |
935 | return -EINVAL; | 935 | return -EINVAL; |
936 | if (scan_rx_ant & ~mvm->fw->valid_rx_ant) | 936 | if (scan_rx_ant & ~(iwl_mvm_get_valid_rx_ant(mvm))) |
937 | return -EINVAL; | 937 | return -EINVAL; |
938 | 938 | ||
939 | if (mvm->scan_rx_ant != scan_rx_ant) { | 939 | if (mvm->scan_rx_ant != scan_rx_ant) { |