iwlwifi: set TX_CMD_FLG_STA_RATE_MSK for BAR frame
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / iwlwifi / iwl-agn-tx.c
index cdf9efda8acef13154a93b68df1c4ea0e6efe131..2fab2e31bf360004f427838d0bbfe57628edf430 100644 (file)
@@ -161,7 +161,8 @@ static void iwlagn_tx_cmd_build_rate(struct iwl_priv *priv,
                }
 #endif
                return;
-       }
+       } else if (ieee80211_is_back_req(fc))
+               tx_cmd->tx_flags |= TX_CMD_FLG_STA_RATE_MSK;
 
        /**
         * If the current TX rate stored in mac80211 has the MCS bit set, it's