wifi: rt2x00: make watchdog param per device
authorStanislaw Gruszka <stf_xl@wp.pl>
Sun, 26 Nov 2023 19:53:58 +0000 (20:53 +0100)
committerKalle Valo <kvalo@kernel.org>
Fri, 1 Dec 2023 12:42:14 +0000 (14:42 +0200)
commit62ad3b976cd7f1cc75458c7df34afb4349ae2429
treef2a139910d0929f2f52b6f0836f3b85f28406c96
parent874a0eda000dbdf2f6c6aa52c0f617333aaf3e37
wifi: rt2x00: make watchdog param per device

We can run PCI/MMIO devices together with USB devices in the system.
Make watchdog parameter per device to avoid situation when plugin
USB device change modparam_watchdog for PCI/MMIO device.

Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl>
Tested-by: Shiji Yang <yangshiji66@outlook.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20231126195358.500259-1-stf_xl@wp.pl
drivers/net/wireless/ralink/rt2x00/rt2800lib.c
drivers/net/wireless/ralink/rt2x00/rt2x00.h
drivers/net/wireless/ralink/rt2x00/rt2x00link.c