Skip to content

Commit

Permalink
iwlwifi: set TX_CMD_FLG_STA_RATE_MSK for BAR frame
Browse files Browse the repository at this point in the history
It is needed by firmware to use the correct rate for BAR frame transmission

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
  • Loading branch information
Wey-Yi Guy committed Dec 8, 2011
1 parent 0cb38d6 commit b8deb49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/wireless/iwlwifi/iwl-agn-tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8deb49

Please sign in to comment.