diff options
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index b122eedef369..6ab07165ea28 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c | |||
@@ -629,13 +629,9 @@ u8 iwl_is_fat_tx_allowed(struct iwl_priv *priv, | |||
629 | if (!sta_ht_inf->ht_supported) | 629 | if (!sta_ht_inf->ht_supported) |
630 | return 0; | 630 | return 0; |
631 | } | 631 | } |
632 | 632 | return iwl_is_channel_extension(priv, priv->band, | |
633 | if (iwl_ht_conf->ht_protection == IEEE80211_HT_OP_MODE_PROTECTION_20MHZ) | 633 | le16_to_cpu(priv->staging_rxon.channel), |
634 | return 1; | 634 | iwl_ht_conf->extension_chan_offset); |
635 | else | ||
636 | return iwl_is_channel_extension(priv, priv->band, | ||
637 | le16_to_cpu(priv->staging_rxon.channel), | ||
638 | iwl_ht_conf->extension_chan_offset); | ||
639 | } | 635 | } |
640 | EXPORT_SYMBOL(iwl_is_fat_tx_allowed); | 636 | EXPORT_SYMBOL(iwl_is_fat_tx_allowed); |
641 | 637 | ||