rt2800: do not enable watchdog by default
authorStanislaw Gruszka <sgruszka@redhat.com>
Sat, 15 Jun 2019 10:01:00 +0000 (12:01 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 25 Jun 2019 05:10:13 +0000 (08:10 +0300)
commit0f47aeeada2a1fe296258eab9a08ced258009481
treed03bbfd6e93fec190ff2da7346624ede9c3c7888
parente403fa31ed71e87de8e5991e23406b8377c9c894
rt2800: do not enable watchdog by default

Make watchdog disabled by default and add module parameter to enable it.

User will have to create file in /etc/modprobe.d/ with

options rt2800lib watchdog=1

to enable the watchdog or load "rt2800lib watchdog=1" module manually
before loading rt2800{soc,pci,usb} module.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2800lib.c
drivers/net/wireless/ralink/rt2x00/rt2x00.h
drivers/net/wireless/ralink/rt2x00/rt2x00link.c