diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-06-28 13:39:18 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-07-16 13:12:56 +0300 |
commit | e126b5d9c58870c0866357c951b4da9ed005f364 (patch) | |
tree | 3d666e900d1ebf4177c4054b381aa8574dd49d3b /drivers/net/wireless/iwlwifi/mvm/tt.c | |
parent | 2be01fa8f5cd6feffb6c50dae20d846dad8b37ba (diff) | |
download | blackbird-op-linux-e126b5d9c58870c0866357c951b4da9ed005f364.tar.gz blackbird-op-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.c | 3 |
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"); |