iwlwifi: mvm: don't transmit on unallocated queue
authorJohannes Berg <johannes.berg@intel.com>
Sat, 25 Apr 2020 10:04:56 +0000 (13:04 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 8 May 2020 06:53:02 +0000 (09:53 +0300)
commit3d1d87ab1a3a40c5fea3dde11d4532c4efd11093
tree051fef9b79696ad0e10333c361f67f11673f8a06
parente88e2cd0b80f2dfa18f72cfb7a3b8ab3d8d59894
iwlwifi: mvm: don't transmit on unallocated queue

We can currently end up transmitting on an unallocated queue, if
the allocation fails. Stop doing that, by simply not transmitting.
We don't have any better strategy here, unfortunately, but the
previous commits make that much less likely.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200425130140.dcf1801f25ef.I6d71e13ea042765800f2ee41401b8eb282527c34@changeid
drivers/net/wireless/intel/iwlwifi/mvm/sta.c