diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/mci.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/mci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/mci.c b/drivers/net/wireless/ath/ath9k/mci.c index f0c8fa48d79e..9e152316fd5c 100644 --- a/drivers/net/wireless/ath/ath9k/mci.c +++ b/drivers/net/wireless/ath/ath9k/mci.c | |||
@@ -421,7 +421,7 @@ void ath_mci_intr(struct ath_softc *sc) | |||
421 | ar9003_mci_get_interrupt(sc->sc_ah, &mci_int, &mci_int_rxmsg); | 421 | ar9003_mci_get_interrupt(sc->sc_ah, &mci_int, &mci_int_rxmsg); |
422 | 422 | ||
423 | if (ar9003_mci_state(ah, MCI_STATE_ENABLE, NULL) == 0) { | 423 | if (ar9003_mci_state(ah, MCI_STATE_ENABLE, NULL) == 0) { |
424 | ar9003_mci_state(ah, MCI_STATE_INIT_GPM_OFFSET, NULL); | 424 | ar9003_mci_get_next_gpm_offset(ah, true, NULL); |
425 | return; | 425 | return; |
426 | } | 426 | } |
427 | 427 | ||
@@ -488,8 +488,8 @@ void ath_mci_intr(struct ath_softc *sc) | |||
488 | while (more_data == MCI_GPM_MORE) { | 488 | while (more_data == MCI_GPM_MORE) { |
489 | 489 | ||
490 | pgpm = mci->gpm_buf.bf_addr; | 490 | pgpm = mci->gpm_buf.bf_addr; |
491 | offset = ar9003_mci_state(ah, MCI_STATE_NEXT_GPM_OFFSET, | 491 | offset = ar9003_mci_get_next_gpm_offset(ah, false, |
492 | &more_data); | 492 | &more_data); |
493 | 493 | ||
494 | if (offset == MCI_GPM_INVALID) | 494 | if (offset == MCI_GPM_INVALID) |
495 | break; | 495 | break; |