aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/rs.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-06-28 07:39:18 -0400
committerJohannes Berg <johannes.berg@intel.com>2013-07-16 06:12:56 -0400
commite126b5d9c58870c0866357c951b4da9ed005f364 (patch)
tree3d666e900d1ebf4177c4054b381aa8574dd49d3b /drivers/net/wireless/iwlwifi/mvm/rs.c
parent2be01fa8f5cd6feffb6c50dae20d846dad8b37ba (diff)
iwlwifi: mvm: remove unneeded argument from iwl_mvm_tx_protection()
The LQ command argument isn't needed, it's always taken from the station struct that's already passed, remove the argument. Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
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) {