iwlwifi: mvm: add a wrapper around rs_tx_status to handle locks
authorGregory Greenman <gregory.greenman@intel.com>
Tue, 25 Jun 2019 08:42:49 +0000 (11:42 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 30 Jul 2019 16:34:15 +0000 (18:34 +0200)
commit23babdf06779482a65c5072a145d826a62979534
treee369294ecba1e61d116742c03af9e8815a35bd8a
parent3c514bf831ac12356b695ff054bef641b9e99593
iwlwifi: mvm: add a wrapper around rs_tx_status to handle locks

iwl_mvm_rs_tx_status can be called from two places in the code, but the
mutex is taken only on one of the calls. Split it into a wrapper taking
locks and an internal __iwl_mvm_rs_tx_status function.

Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rs.c