Re: [PATCH ath-next v4 3/8] wifi: ath9k_htc: refuse a command that fills whole USB packets
From: Toke Høiland-Jørgensen
Date: Mon Oct 19 2026 - 15:51:24 EST
Nerijus Bendžiūnas <nerijus.bendziunas@xxxxxxxxx> writes:
> The firmware ends a command on the interrupt OUT endpoint only on a
> short packet, so a command whose length is a multiple of the packet
> size is never delivered and the device stops answering WMI. The
> previous patch removes the one such command; nothing prevents the next.
>
> Refuse such a command in hif_usb_send_regout(), where the packet size
> is known, with a warning.
>
> Assisted-by: LLM
> Signed-off-by: Nerijus Bendžiūnas <nerijus.bendziunas@xxxxxxxxx>
Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxx>