iwlwifi: mvm: remove buggy and unnecessary hw_queue initialization
authorJohannes Berg <johannes.berg@intel.com>
Wed, 20 Feb 2019 21:15:17 +0000 (22:15 +0100)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 3 Apr 2019 08:20:02 +0000 (11:20 +0300)
commit3f7fbc8cc11e2a305247a908bc67bb5f571fbf00
tree019e217678e7cdcad13e0dcd6fcf95c15e2415c5
parent30eba3f9a454a7dbaf602e2aa4f5b3df18030be5
iwlwifi: mvm: remove buggy and unnecessary hw_queue initialization

After converting the driver to TXQs, it no longer has any reason
to initialize vif->hw_queue/vif->cab_queue since it no longer sets
the HW_QUEUE_CONTROL flag. Remove the code that initialized those,
it was broken due to relying on an uninitialized stack value in
used_hw_queues, as Colin reported.

Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c