rtw88: pci: check if queue mapping exceeds size of ac_to_hwq
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Fri, 3 May 2019 11:53:33 +0000 (19:53 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 28 May 2019 11:50:45 +0000 (14:50 +0300)
commit0d7882950c73de464c3d95ae5e4038059dcd46c8
treebad969e38a593103da4d3201a5c9a4c99e609c8f
parent82dea406c50946b9653dd80ec6f39a8d6f43ed89
rtw88: pci: check if queue mapping exceeds size of ac_to_hwq

Dump warning messages when we get a q_mapping larger than the AC
numbers. And pick BE queue as default.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/pci.c