summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/htc.h
diff options
context:
space:
mode:
authorHong Xu <hong@topbug.net>2015-01-11 11:45:53 -0800
committerKalle Valo <kvalo@codeaurora.org>2015-01-23 19:16:11 +0200
commit3a939a671225909c19b09bfcb6e4761109e913d9 (patch)
treef6461ad65fb5239d62272449a854c40f4df264b8 /drivers/net/wireless/ath/ath9k/htc.h
parente26dc173a66ab3de38fbb8d71b58dbb72e29d6c9 (diff)
ath9k_htc: Add a module parameter to disable blink
Add an option "blink" to enable or disable the LED blink. The default value is set to 1 so that existing users would not experience any unexpected changes. Signed-off-by: Hong Xu <hong@topbug.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/htc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc.h b/drivers/net/wireless/ath/ath9k/htc.h
index 9dde265d3f84..c43fec51b8ec 100644
--- a/drivers/net/wireless/ath/ath9k/htc.h
+++ b/drivers/net/wireless/ath/ath9k/htc.h
@@ -44,6 +44,9 @@
extern struct ieee80211_ops ath9k_htc_ops;
extern int htc_modparam_nohwcrypt;
+#ifdef CONFIG_MAC80211_LEDS
+extern int led_blink;
+#endif
enum htc_phymode {
HTC_MODE_11NA = 0,