From: Felix Fietkau <nbd@openwrt.org>
To: linux-wireless@vger.kernel.org
Cc: linville@tuxdriver.com, lrodriguez@atheros.com,
Felix Fietkau <nbd@openwrt.org>
Subject: [PATCH 1/7] ath9k_hw: initialize ah->slottime
Date: Sun, 12 Dec 2010 14:34:31 +0100 [thread overview]
Message-ID: <1292160877-50618-1-git-send-email-nbd@openwrt.org> (raw)
(u32) -1 is not particularly useful as a slottime default, so even though
the ath9k_hw default should never get used, it's better to pick something
sane here.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
---
drivers/net/wireless/ath/ath9k/hw.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index d44f74e..856a76e 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -408,7 +408,7 @@ static void ath9k_hw_init_defaults(struct ath_hw *ah)
AR_STA_ID1_CRPT_MIC_ENABLE |
AR_STA_ID1_MCAST_KSRCH;
ah->enable_32kHz_clock = DONT_USE_32KHZ;
- ah->slottime = (u32) -1;
+ ah->slottime = 20;
ah->globaltxtimeout = (u32) -1;
ah->power_mode = ATH9K_PM_UNDEFINED;
}
--
1.7.3.2
next reply other threads:[~2010-12-12 13:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-12 13:34 Felix Fietkau [this message]
2010-12-12 13:34 ` [PATCH 2/7] ath9k_hw: fix the slot time setting for long distance links Felix Fietkau
2010-12-12 13:34 ` [PATCH 3/7] ath9k: fix PA predistortion thermal measurement handling Felix Fietkau
2010-12-12 13:34 ` [PATCH 4/7] ath9k_hw: fix the PA predistortion rate mask Felix Fietkau
2010-12-12 13:34 ` [PATCH 5/7] ath9k_hw: fix PA predistortion training power selection Felix Fietkau
2010-12-12 13:34 ` [PATCH 6/7] ath9k_hw: update AR9003 initvals for improved radar detection Felix Fietkau
2010-12-12 13:34 ` [PATCH 7/7] ath9k_hw: update AR9003 initvals to improve carrier leak calibration/correction Felix Fietkau
2010-12-13 6:02 ` [PATCH 5/7] ath9k_hw: fix PA predistortion training power selection Vasanthakumar Thiagarajan
2010-12-13 7:19 ` Felix Fietkau
2010-12-13 7:26 ` Vasanthakumar Thiagarajan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1292160877-50618-1-git-send-email-nbd@openwrt.org \
--to=nbd@openwrt.org \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=lrodriguez@atheros.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.