]> git.itanic.dy.fi Git - linux-stable/commit
iwlwifi: mvm: call a different txq_enable function
authorSara Sharon <sara.sharon@intel.com>
Thu, 30 Jun 2016 13:14:02 +0000 (16:14 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 15 Sep 2016 16:28:09 +0000 (19:28 +0300)
commitca3b9c6b6d4db9a8ba5fc8b95664e75468c59f9f
treee95e7ece5bbd2e83cb7eb39a08bcc8b5f5257950
parent76f8c0e17edc6eba43f84952e5a87c7f50f69370
iwlwifi: mvm: call a different txq_enable function

Since the SCD_QUEUE_CFG command was introduced the driver
calls iwl_trans_txq_enable_cfg() with a NULL for scd_cfg
parameter.
This makes the transport avoid writing to the SCD pointers,
since it can cause races with firmware, which is also accessing
the registers.
The transport only updates the write pointer in that case.
Fix a wrong call to iwl_trans_txq_enable() which caused a
scd_cfg parameter to be sent to transport, resulting with an
access to SCD registers.

Fixes: 58f2cc57dc6a ("iwlwifi: mvm: support dqa-mode scd queue redirection")
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c