]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Only remove spectral scan relay file when it was created
authorSven Eckelmann <sven@narfation.org>
Thu, 31 Jan 2013 14:56:56 +0000 (15:56 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 1 Feb 2013 19:27:24 +0000 (14:27 -0500)
commitf0876bc95ee73cad13e7aaa823665a4cfd4d1d9c
tree80c395c3218c9bac4a6f74bf2ead6cd47830034a
parent5d7c8ed44b938fd336a957d612576e16a0bbd5c6
ath9k: Only remove spectral scan relay file when it was created

The relay file depends on relayfs. Trying to close this file without having
ATH9K_DEBUGFS (and therefore RELAY) activated causes build failures.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/init.c