diff options
author | Kalle Valo <kvalo@qca.qualcomm.com> | 2013-11-20 10:00:49 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2013-11-20 10:34:59 +0200 |
commit | 650b91fb09c035a99f2aaeb5de9bfc5215301816 (patch) | |
tree | d579ff357444862986f1b6add71cb89253bd175d /drivers/net/wireless/ath/ath10k/pci.c | |
parent | c8c39afee20124b29b69a35b78e5081dccb97a9b (diff) | |
download | blackbird-op-linux-650b91fb09c035a99f2aaeb5de9bfc5215301816.tar.gz blackbird-op-linux-650b91fb09c035a99f2aaeb5de9bfc5215301816.zip |
ath10k: show hardware and firmware info prints only once
This makes ath10k a lot less spammy by default.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/pci.c')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/pci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c index a3cdd72f3148..2457c8ba9017 100644 --- a/drivers/net/wireless/ath/ath10k/pci.c +++ b/drivers/net/wireless/ath/ath10k/pci.c @@ -19,6 +19,7 @@ #include <linux/module.h> #include <linux/interrupt.h> #include <linux/spinlock.h> +#include <linux/bitops.h> #include "core.h" #include "debug.h" @@ -1925,7 +1926,8 @@ static int ath10k_pci_hif_power_up(struct ath10k *ar) else irq_mode = "legacy"; - ath10k_info("pci irq %s\n", irq_mode); + if (!test_bit(ATH10K_FLAG_FIRST_BOOT_DONE, &ar->dev_flags)) + ath10k_info("pci irq %s\n", irq_mode); return 0; |