diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-12-13 15:20:45 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-13 15:20:45 -0500 |
commit | 1d212aa96e1b63459486f729af9a3fa38768b801 (patch) | |
tree | e91e74db57a5bb7884b4681cdb788d405ec8f10f /drivers/net/wireless/ath/ath9k/htc_drv_beacon.c | |
parent | 8c4877a4128e7931077b024a891a4b284d8756a3 (diff) | |
parent | b7613370db5ba66ad81e41cd3a5417fde4d5e03c (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_beacon.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_beacon.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_beacon.c b/drivers/net/wireless/ath/ath9k/htc_drv_beacon.c index 1b72aa482ac7..87cc65a78a3f 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_beacon.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_beacon.c | |||
@@ -123,11 +123,11 @@ static void ath9k_htc_beacon_config_sta(struct ath9k_htc_priv *priv, | |||
123 | /* TSF out of range threshold fixed at 1 second */ | 123 | /* TSF out of range threshold fixed at 1 second */ |
124 | bs.bs_tsfoor_threshold = ATH9K_TSFOOR_THRESHOLD; | 124 | bs.bs_tsfoor_threshold = ATH9K_TSFOOR_THRESHOLD; |
125 | 125 | ||
126 | ath_print(common, ATH_DBG_BEACON, "tsf: %llu tsftu: %u\n", tsf, tsftu); | 126 | ath_dbg(common, ATH_DBG_BEACON, "tsf: %llu tsftu: %u\n", tsf, tsftu); |
127 | ath_print(common, ATH_DBG_BEACON, | 127 | ath_dbg(common, ATH_DBG_BEACON, |
128 | "bmiss: %u sleep: %u cfp-period: %u maxdur: %u next: %u\n", | 128 | "bmiss: %u sleep: %u cfp-period: %u maxdur: %u next: %u\n", |
129 | bs.bs_bmissthreshold, bs.bs_sleepduration, | 129 | bs.bs_bmissthreshold, bs.bs_sleepduration, |
130 | bs.bs_cfpperiod, bs.bs_cfpmaxduration, bs.bs_cfpnext); | 130 | bs.bs_cfpperiod, bs.bs_cfpmaxduration, bs.bs_cfpnext); |
131 | 131 | ||
132 | /* Set the computed STA beacon timers */ | 132 | /* Set the computed STA beacon timers */ |
133 | 133 | ||
@@ -154,9 +154,9 @@ static void ath9k_htc_beacon_config_adhoc(struct ath9k_htc_priv *priv, | |||
154 | if (priv->op_flags & OP_ENABLE_BEACON) | 154 | if (priv->op_flags & OP_ENABLE_BEACON) |
155 | imask |= ATH9K_INT_SWBA; | 155 | imask |= ATH9K_INT_SWBA; |
156 | 156 | ||
157 | ath_print(common, ATH_DBG_BEACON, | 157 | ath_dbg(common, ATH_DBG_BEACON, |
158 | "IBSS Beacon config, intval: %d, imask: 0x%x\n", | 158 | "IBSS Beacon config, intval: %d, imask: 0x%x\n", |
159 | bss_conf->beacon_interval, imask); | 159 | bss_conf->beacon_interval, imask); |
160 | 160 | ||
161 | WMI_CMD(WMI_DISABLE_INTR_CMDID); | 161 | WMI_CMD(WMI_DISABLE_INTR_CMDID); |
162 | ath9k_hw_beaconinit(priv->ah, nexttbtt, intval); | 162 | ath9k_hw_beaconinit(priv->ah, nexttbtt, intval); |
@@ -246,8 +246,8 @@ void ath9k_htc_beaconq_config(struct ath9k_htc_priv *priv) | |||
246 | qi.tqi_cwmax = qi_be.tqi_cwmax; | 246 | qi.tqi_cwmax = qi_be.tqi_cwmax; |
247 | 247 | ||
248 | if (!ath9k_hw_set_txq_props(ah, priv->beaconq, &qi)) { | 248 | if (!ath9k_hw_set_txq_props(ah, priv->beaconq, &qi)) { |
249 | ath_print(ath9k_hw_common(ah), ATH_DBG_FATAL, | 249 | ath_err(ath9k_hw_common(ah), |
250 | "Unable to update beacon queue %u!\n", qnum); | 250 | "Unable to update beacon queue %u!\n", qnum); |
251 | } else { | 251 | } else { |
252 | ath9k_hw_resettxqueue(ah, priv->beaconq); | 252 | ath9k_hw_resettxqueue(ah, priv->beaconq); |
253 | } | 253 | } |
@@ -278,8 +278,8 @@ void ath9k_htc_beacon_config(struct ath9k_htc_priv *priv, | |||
278 | ath9k_htc_beacon_config_adhoc(priv, cur_conf); | 278 | ath9k_htc_beacon_config_adhoc(priv, cur_conf); |
279 | break; | 279 | break; |
280 | default: | 280 | default: |
281 | ath_print(common, ATH_DBG_CONFIG, | 281 | ath_dbg(common, ATH_DBG_CONFIG, |
282 | "Unsupported beaconing mode\n"); | 282 | "Unsupported beaconing mode\n"); |
283 | return; | 283 | return; |
284 | } | 284 | } |
285 | } | 285 | } |