diff options
author | Sara Sharon <sara.sharon@intel.com> | 2017-10-29 10:46:39 +0200 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2017-11-25 17:44:40 +0200 |
commit | 4c59ff5a9a9c54cc26c807dc2fa6933f7e9fa4ef (patch) | |
tree | 3efb4c2399733c9335e9061b3101c58e8d610b3c /drivers/net/wireless/intel/iwlwifi/mvm/rx.c | |
parent | fdd0bd88ceaecf729db103ac8836af5805dd2dc1 (diff) |
iwlwifi: mvm: check for short GI only for OFDM
This bit will be used in CCK to indicate short preamble.
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/rx.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/rx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rx.c b/drivers/net/wireless/intel/iwlwifi/mvm/rx.c index d1a40688d5e1..7cbea7890b0c 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/rx.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/rx.c @@ -439,7 +439,8 @@ void iwl_mvm_rx_rx_mpdu(struct iwl_mvm *mvm, struct napi_struct *napi, rx_status->bw = RATE_INFO_BW_160; break; } - if (rate_n_flags & RATE_MCS_SGI_MSK) + if (!(rate_n_flags & RATE_MCS_CCK_MSK) && + rate_n_flags & RATE_MCS_SGI_MSK) rx_status->enc_flags |= RX_ENC_FLAG_SHORT_GI; if (rate_n_flags & RATE_HT_MCS_GF_MSK) rx_status->enc_flags |= RX_ENC_FLAG_HT_GF; |