On Sun, Feb 05, 2023 at 12:30:00AM +0100, Martin Blumenstingl wrote: > This code is not specific to the PCIe bus type but can be re-used by USB > and SDIO bus types. Move it to tx.{c,h} to avoid code-duplication in the > future. While here, add checking of the ac argument in > rtw_tx_ac_to_hwq() so we're not accessing entries beyond the end of the > array. > > Signed-off-by: Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx> Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>