]> 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)
commit5f90a665c9443e6df0eedd5d027eb9d37a7ba311
treed03bbfd6e93fec190ff2da7346624ede9c3c7888
parent76bd4e3eebcbfb87e0655a2c4fd1e02dbf1b9cc0
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