]> git.baikalelectronics.ru Git - kernel.git/commit
iwl3945: do not print RFKILL message
authorStanislaw Gruszka <sgruszka@redhat.com>
Fri, 25 Oct 2013 10:37:54 +0000 (12:37 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Dec 2013 19:54:44 +0000 (14:54 -0500)
commit6c4d6bd36a5a819450897419fa8d2036fa4c7885
tree8b0ff5b74fcf430434fd953349e2cb335a868e60
parent633dabcd5ee3b27f7900cdcdc141c5218a7127dc
iwl3945: do not print RFKILL message

We can mess logs if user space try to open device again and again if
RFKILL switch is on. Do not print message and return ERFKILL error
instead to indicate where the problem is.

Note that iwl4965 handle this problem differently, it allows to open
device when radio is disabled.

Reported-by: Dietmar Rudolph <dietmar@crlf.de>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/3945-mac.c