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>
This commit is contained in:
Sven Eckelmann 2013-01-31 15:56:56 +01:00 • committed by John W. Linville
commit 00b5418234