metadata.pl: fix recursive handling of conditional dependencies
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 567-ath9k_rc_stbc_support.patch
1 --- a/drivers/net/wireless/ath/ath9k/rc.c
2 +++ b/drivers/net/wireless/ath/ath9k/rc.c
3 @@ -700,6 +700,10 @@ static void ath_get_rate(void *priv, str
4 (sta->ht_cap.cap & IEEE80211_HT_CAP_LDPC_CODING))
5 tx_info->flags |= IEEE80211_TX_CTL_LDPC;
6
7 + if (conf_is_ht(&sc->hw->conf) &&
8 + (sta->ht_cap.cap & IEEE80211_HT_CAP_TX_STBC))
9 + tx_info->flags |= IEEE80211_TX_CTL_STBC;
10 +
11 if (is_probe) {
12 /* set one try for probe rates. For the
13 * probes don't enable rts */