iwlwifi: mvm: set correct vht capability
authorSara Sharon <sara.sharon@intel.com>
Thu, 7 Apr 2016 14:26:53 +0000 (17:26 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 10 May 2016 19:34:02 +0000 (22:34 +0300)
Our device supports only 160 GHz and not 80+80. Fix
VHT flag accordingly.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c

index b13f409c42efd3e04e76ea3176fb4b7277e6ce05..e99624d8a027f213aaa684a2aa462e84c155d800 100644 (file)
@@ -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;