summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/tt.c
diff options
context:
space:
mode:
authorJohannes Berg2013-06-28 13:39:18 +0200
committerJohannes Berg2013-07-16 12:12:56 +0200
commite126b5d9c58870c0866357c951b4da9ed005f364 (patch)
tree3d666e900d1ebf4177c4054b381aa8574dd49d3b /drivers/net/wireless/iwlwifi/mvm/tt.c
parentiwlwifi: remove forward debugfs function declarations (diff)
downloadkernel-qcow2-linux-e126b5d9c58870c0866357c951b4da9ed005f364.tar.gz
kernel-qcow2-linux-e126b5d9c58870c0866357c951b4da9ed005f364.tar.xz
kernel-qcow2-linux-e126b5d9c58870c0866357c951b4da9ed005f364.zip
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/tt.c')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/tt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/tt.c b/drivers/net/wireless/iwlwifi/mvm/tt.c
index d6ae7f16ac11..f5ba185f09b1 100644
--- a/drivers/net/wireless/iwlwifi/mvm/tt.c
+++ b/drivers/net/wireless/iwlwifi/mvm/tt.c
@@ -391,8 +391,7 @@ static void iwl_mvm_tt_tx_protection(struct iwl_mvm *mvm, bool enable)
mvmsta = (void *)sta->drv_priv;
if (enable == mvmsta->tt_tx_protection)
continue;
- err = iwl_mvm_tx_protection(mvm, &mvmsta->lq_sta.lq,
- mvmsta, enable);
+ err = iwl_mvm_tx_protection(mvm, mvmsta, enable);
if (err) {
IWL_ERR(mvm, "Failed to %s Tx protection\n",
enable ? "enable" : "disable");