wifi: ath9k_htc: don't store usb_device_id

usb_device_id is not guaranteed to live longer than probe due to presence
of dynamic ID. All information apart from driver_data can be easily
retrieved from usb_device, so just store driver_data.

Signed-off-by: Gary Guo <gary@garyguo.net>
Link: https://patch.msgid.link/20260707-usb_dyn_id_uaf-v2-1-632dcf3adfba@garyguo.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Gary Guo 2026-07-07 13:26:40 +01:00 • committed by Greg Kroah-Hartman
commit 14d2ac442d
2 changed files with 7 additions and 7 deletions