diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/init.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/init.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c index c5df98139c4..abf943557de 100644 --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c | |||
@@ -276,8 +276,7 @@ static void setup_ht_cap(struct ath_softc *sc, | |||
276 | tx_streams = ath9k_cmn_count_streams(ah->txchainmask, max_streams); | 276 | tx_streams = ath9k_cmn_count_streams(ah->txchainmask, max_streams); |
277 | rx_streams = ath9k_cmn_count_streams(ah->rxchainmask, max_streams); | 277 | rx_streams = ath9k_cmn_count_streams(ah->rxchainmask, max_streams); |
278 | 278 | ||
279 | ath_dbg(common, ATH_DBG_CONFIG, | 279 | ath_dbg(common, CONFIG, "TX streams %d, RX streams: %d\n", |
280 | "TX streams %d, RX streams: %d\n", | ||
281 | tx_streams, rx_streams); | 280 | tx_streams, rx_streams); |
282 | 281 | ||
283 | if (tx_streams != rx_streams) { | 282 | if (tx_streams != rx_streams) { |
@@ -329,7 +328,7 @@ int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd, | |||
329 | struct ath_buf *bf; | 328 | struct ath_buf *bf; |
330 | int i, bsize, error, desc_len; | 329 | int i, bsize, error, desc_len; |
331 | 330 | ||
332 | ath_dbg(common, ATH_DBG_CONFIG, "%s DMA: %u buffers %u desc/buf\n", | 331 | ath_dbg(common, CONFIG, "%s DMA: %u buffers %u desc/buf\n", |
333 | name, nbuf, ndesc); | 332 | name, nbuf, ndesc); |
334 | 333 | ||
335 | INIT_LIST_HEAD(head); | 334 | INIT_LIST_HEAD(head); |
@@ -375,7 +374,7 @@ int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd, | |||
375 | goto fail; | 374 | goto fail; |
376 | } | 375 | } |
377 | ds = (u8 *) dd->dd_desc; | 376 | ds = (u8 *) dd->dd_desc; |
378 | ath_dbg(common, ATH_DBG_CONFIG, "%s DMA map: %p (%u) -> %llx (%u)\n", | 377 | ath_dbg(common, CONFIG, "%s DMA map: %p (%u) -> %llx (%u)\n", |
379 | name, ds, (u32) dd->dd_desc_len, | 378 | name, ds, (u32) dd->dd_desc_len, |
380 | ito64(dd->dd_desc_paddr), /*XXX*/(u32) dd->dd_desc_len); | 379 | ito64(dd->dd_desc_paddr), /*XXX*/(u32) dd->dd_desc_len); |
381 | 380 | ||
@@ -426,7 +425,7 @@ static int ath9k_init_btcoex(struct ath_softc *sc) | |||
426 | struct ath_hw *ah = sc->sc_ah; | 425 | struct ath_hw *ah = sc->sc_ah; |
427 | int r; | 426 | int r; |
428 | 427 | ||
429 | switch (sc->sc_ah->btcoex_hw.scheme) { | 428 | switch (ath9k_hw_get_btcoex_scheme(sc->sc_ah)) { |
430 | case ATH_BTCOEX_CFG_NONE: | 429 | case ATH_BTCOEX_CFG_NONE: |
431 | break; | 430 | break; |
432 | case ATH_BTCOEX_CFG_2WIRE: | 431 | case ATH_BTCOEX_CFG_2WIRE: |
@@ -881,10 +880,10 @@ static void ath9k_deinit_softc(struct ath_softc *sc) | |||
881 | kfree(sc->sbands[IEEE80211_BAND_5GHZ].channels); | 880 | kfree(sc->sbands[IEEE80211_BAND_5GHZ].channels); |
882 | 881 | ||
883 | if ((sc->btcoex.no_stomp_timer) && | 882 | if ((sc->btcoex.no_stomp_timer) && |
884 | sc->sc_ah->btcoex_hw.scheme == ATH_BTCOEX_CFG_3WIRE) | 883 | ath9k_hw_get_btcoex_scheme(sc->sc_ah) == ATH_BTCOEX_CFG_3WIRE) |
885 | ath_gen_timer_free(sc->sc_ah, sc->btcoex.no_stomp_timer); | 884 | ath_gen_timer_free(sc->sc_ah, sc->btcoex.no_stomp_timer); |
886 | 885 | ||
887 | if (sc->sc_ah->btcoex_hw.scheme == ATH_BTCOEX_CFG_MCI) | 886 | if (ath9k_hw_get_btcoex_scheme(sc->sc_ah) == ATH_BTCOEX_CFG_MCI) |
888 | ath_mci_cleanup(sc); | 887 | ath_mci_cleanup(sc); |
889 | 888 | ||
890 | for (i = 0; i < ATH9K_NUM_TX_QUEUES; i++) | 889 | for (i = 0; i < ATH9K_NUM_TX_QUEUES; i++) |