From: Sara Sharon Date: Thu, 7 Apr 2016 14:26:53 +0000 (+0300) Subject: iwlwifi: mvm: set correct vht capability X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dd02fbeb8fedecd8b2d55fdfde664eaa05afac6f;p=linux-beck.git iwlwifi: mvm: set correct vht capability Our device supports only 160 GHz and not 80+80. Fix VHT flag accordingly. Signed-off-by: Sara Sharon Signed-off-by: Luca Coelho --- diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c b/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c index b13f409c42ef..e99624d8a027 100644 --- a/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c +++ b/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c @@ -378,7 +378,7 @@ static void iwl_init_vht_hw_capab(const struct iwl_cfg *cfg, if (data->vht160_supported) vht_cap->cap |= - IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ; + IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ; if (cfg->vht_mu_mimo_supported) vht_cap->cap |= IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE;