|
|
@@ -283,7 +283,8 @@ static void iwl_init_vht_hw_capab(const struct iwl_cfg *cfg,
|
|
|
IEEE80211_VHT_MCS_NOT_SUPPORTED << 12 |
|
|
|
IEEE80211_VHT_MCS_NOT_SUPPORTED << 14);
|
|
|
|
|
|
- if (data->valid_rx_ant == 1 || cfg->rx_with_siso_diversity) {
|
|
|
+ if (num_of_ant(data->valid_rx_ant) == 1 ||
|
|
|
+ cfg->rx_with_siso_diversity) {
|
|
|
vht_cap->cap |= IEEE80211_VHT_CAP_RX_ANTENNA_PATTERN |
|
|
|
IEEE80211_VHT_CAP_TX_ANTENNA_PATTERN;
|
|
|
/* this works because NOT_SUPPORTED == 3 */
|