aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/rs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/rs.c')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/rs.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/rs.c b/drivers/net/wireless/iwlwifi/mvm/rs.c
index b328a988c130..3856c285c69a 100644
--- a/drivers/net/wireless/iwlwifi/mvm/rs.c
+++ b/drivers/net/wireless/iwlwifi/mvm/rs.c
@@ -3193,13 +3193,14 @@ void iwl_mvm_rate_control_unregister(void)
3193 * iwl_mvm_tx_protection - Gets LQ command, change it to enable/disable 3193 * iwl_mvm_tx_protection - Gets LQ command, change it to enable/disable
3194 * Tx protection, according to this rquest and previous requests, 3194 * Tx protection, according to this rquest and previous requests,
3195 * and send the LQ command. 3195 * and send the LQ command.
3196 * @lq: The LQ command
3197 * @mvmsta: The station 3196 * @mvmsta: The station
3198 * @enable: Enable Tx protection? 3197 * @enable: Enable Tx protection?
3199 */ 3198 */
3200int iwl_mvm_tx_protection(struct iwl_mvm *mvm, struct iwl_lq_cmd *lq, 3199int iwl_mvm_tx_protection(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,
3201 struct iwl_mvm_sta *mvmsta, bool enable) 3200 bool enable)
3202{ 3201{
3202 struct iwl_lq_cmd *lq = &mvmsta->lq_sta.lq;
3203
3203 lockdep_assert_held(&mvm->mutex); 3204 lockdep_assert_held(&mvm->mutex);
3204 3205
3205 if (enable) { 3206 if (enable) {