Re: [PATCH v2] xpad: Overhaul device data for wireless devices
From: Sanjay Govind
Date: Tue Apr 07 2026 - 02:40:24 EST
On Tue, Apr 7, 2026 at 4:46 PM Dmitry Torokhov
<dmitry.torokhov@xxxxxxxxx> wrote:
> When will it be set to 1?
The link report itself sets it to 1 in some cases, but i think i will
just change this so that if we get a link report and the vid == 1, we
set wireless_vid to 0, so we can rely on it being a non zero value
instead
> Maybe this should be disable_delayed_work() instead...
For simplicity I'll just get rid of that, and we can just always wait
for it to expire instead of trying to shortcut it if we get the
capabilities report faster than 500ms.
> Can this also read stale data for the same reason if the packet is too short?
I'll add in length checks.