iwlwifi: mvm: remove channel 2 from HE radiotap if not applicable
authorJohannes Berg <johannes.berg@intel.com>
Thu, 3 May 2018 11:35:08 +0000 (13:35 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 31 Aug 2018 08:38:36 +0000 (11:38 +0300)
commit317bc55fa82fbb7f1fe20170e50e0553af1bd69c
tree35c6f7317ac747dc6b9e053c05a50e411fab810b
parent925bc2b189ec05a2993d3870f4c9c7edaf60d088
iwlwifi: mvm: remove channel 2 from HE radiotap if not applicable

If the bandwidth is only 20 MHz, then the second channel doesn't
exist, but the hardware reports the CRC was OK. Suppress the data
of the second channel in the HE radiotap in this case, by marking
it as not known.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c