summaryrefslogtreecommitdiffstats
path: root/drivers/soundwire
diff options
context:
space:
mode:
authorAvraham Stern <avraham.stern@intel.com>2018-03-05 11:26:53 +0200
committerLuca Coelho <luciano.coelho@intel.com>2018-03-19 10:50:37 +0200
commit4a6d2e525b43eba5870ea7e360f59aa65de00705 (patch)
tree8adc89152f08edfa179d82ac98ba6fbe6782216a /drivers/soundwire
parentdf65c8d1728adee2a52c30287d33da83a8c87480 (diff)
downloadlinux-stable-4a6d2e525b43eba5870ea7e360f59aa65de00705.tar.gz
linux-stable-4a6d2e525b43eba5870ea7e360f59aa65de00705.tar.bz2
linux-stable-4a6d2e525b43eba5870ea7e360f59aa65de00705.zip
iwlwifi: mvm: fix array out of bounds reference
When starting aggregation, the code checks the status of the queue allocated to the aggregation tid, which might not yet be allocated and thus the queue index may be invalid. Fix this by reserving a new queue in case the queue id is invalid. While at it, clean up some unreachable code (a condition that is already handled earlier) and remove all the non-DQA comments since non-DQA mode is no longer supported. Fixes: cf961e16620f ("iwlwifi: mvm: support dqa-mode agg on non-shared queue") Signed-off-by: Avraham Stern <avraham.stern@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/soundwire')
0 files changed, 0 insertions, 0 deletions