From: Sara Sharon Date: Thu, 7 Apr 2016 14:26:53 +0000 (+0300) Subject: iwlwifi: mvm: set correct vht capability X-Git-Tag: v4.14-rc1~2816^2~29^2~10^2~84 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd02fbeb8fedecd8b2d55fdfde664eaa05afac6f;p=platform%2Fkernel%2Flinux-rpi.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 b13f409..e99624d 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;