]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit86a3ef37ef2601da29af0d934523b41ee528c298
treed03bbfd6e93fec190ff2da7346624ede9c3c7888
parentb793d5331fa166bcd624327a3c3e17da365b5c0c
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