summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-06-12 07:02:43 +0000
committered <ed@FreeBSD.org>2010-06-12 07:02:43 +0000
commitb561e7e4e1a27087d74fe9a720a3888ee7db294b (patch)
treed2179f6c43f5198672bd9999e907bad0ea66a414
parentbd74f111f8552bb14916c8a5094c76e877c6859b (diff)
downloadFreeBSD-src-b561e7e4e1a27087d74fe9a720a3888ee7db294b.zip
FreeBSD-src-b561e7e4e1a27087d74fe9a720a3888ee7db294b.tar.gz
Remove GNU-style struct initialization.
Spotted by: clang Approved by: rpaulo
-rw-r--r--sys/net80211/ieee80211_rssadapt.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/net80211/ieee80211_rssadapt.c b/sys/net80211/ieee80211_rssadapt.c
index f82c01e..aaf4057 100644
--- a/sys/net80211/ieee80211_rssadapt.c
+++ b/sys/net80211/ieee80211_rssadapt.c
@@ -58,12 +58,12 @@ struct rssadapt_expavgctl {
};
static struct rssadapt_expavgctl master_expavgctl = {
- rc_decay_denom : 16,
- rc_decay_old : 15,
- rc_thresh_denom : 8,
- rc_thresh_old : 4,
- rc_avgrssi_denom : 8,
- rc_avgrssi_old : 4
+ .rc_decay_denom = 16,
+ .rc_decay_old = 15,
+ .rc_thresh_denom = 8,
+ .rc_thresh_old = 4,
+ .rc_avgrssi_denom = 8,
+ .rc_avgrssi_old = 4
};
#ifdef interpolate
OpenPOWER on IntegriCloud