iwlwifi: mvm: free reserved queue on STA removal
authorLiad Kaufman <liad.kaufman@intel.com>
Thu, 7 Jul 2016 10:25:59 +0000 (13:25 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 16 Sep 2016 06:10:26 +0000 (09:10 +0300)
commita0315dea9091d1ebc1534f6129b3fc9942b8ca99
treeb22bfa80641c40913c166bb6e8778fc20364c705
parent7585c354637bb003ce612dd22f5047c015545ef4
iwlwifi: mvm: free reserved queue on STA removal

When a STA is removed in DQA mode, if no traffic went through
its reserved queue, the txq continues to be marked as
reserved and no STA can use it.

Make sure that in such a case the reserved queue is marked
as free when the STA is removed.

Fixes: commit 24afba7690e4 ("iwlwifi: mvm: support bss dynamic alloc/dealloc of queues")
Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c