projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ath9k: Build RFKILL feature even when RFKILL subsystem is a MODULE
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
net
/
wireless
/
ath9k
/
core.c
diff --git
a/drivers/net/wireless/ath9k/core.c
b/drivers/net/wireless/ath9k/core.c
index 5f5184acb2746de6a73b418f27a489e0c11397cf..3e94dab6c9d99b4cf532457ead7a1ecd3bab1161 100644
(file)
--- a/
drivers/net/wireless/ath9k/core.c
+++ b/
drivers/net/wireless/ath9k/core.c
@@
-705,7
+705,7
@@
void ath_stop(struct ath_softc *sc)
} else
sc->sc_rxlink = NULL;
-#if
def CONFIG_RFKILL
+#if
defined(CONFIG_RFKILL) || defined(CONFIG_RFKILL_MODULE)
if (sc->sc_ah->ah_caps.hw_caps & ATH9K_HW_CAP_RFSILENT)
cancel_delayed_work_sync(&sc->rf_kill.rfkill_poll);
#endif