summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2013-06-02 19:49:15 +0300
committerJohannes Berg <johannes.berg@intel.com>2013-06-04 13:14:30 +0200
commit2edc6ec6330c7906f4dbd7f5da71be8989efc5a3 (patch)
tree42655bbae59baf4ca0a6b5b0fba7c5dca2c368f2 /drivers/net/wireless
parentb28b6dfe580ab1ab8bf08b908fd69e299b877103 (diff)
downloadtalos-op-linux-2edc6ec6330c7906f4dbd7f5da71be8989efc5a3.tar.gz
talos-op-linux-2edc6ec6330c7906f4dbd7f5da71be8989efc5a3.zip
iwlwifi: mvm: correctly set the flags for BAR
Somehow, the Tx flags for BAR were completely wrong. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/tx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/tx.c b/drivers/net/wireless/iwlwifi/mvm/tx.c
index f212f16502ff..48c1891e3df6 100644
--- a/drivers/net/wireless/iwlwifi/mvm/tx.c
+++ b/drivers/net/wireless/iwlwifi/mvm/tx.c
@@ -180,7 +180,8 @@ static void iwl_mvm_set_tx_cmd_rate(struct iwl_mvm *mvm,
tx_cmd->tx_flags |= cpu_to_le32(TX_CMD_FLG_STA_RATE);
return;
} else if (ieee80211_is_back_req(fc)) {
- tx_cmd->tx_flags |= cpu_to_le32(TX_CMD_FLG_STA_RATE);
+ tx_cmd->tx_flags |=
+ cpu_to_le32(TX_CMD_FLG_ACK | TX_CMD_FLG_BAR);
}
/* HT rate doesn't make sense for a non data frame */
OpenPOWER on IntegriCloud