Commit 9330969b authored by Rajkumar Manoharan's avatar Rajkumar Manoharan Committed by John W. Linville

ath9k_hw: remove MCI_STATE_SET_BT_SLEEP

Signed-off-by: default avatarRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 26e942b7
...@@ -1191,9 +1191,6 @@ u32 ar9003_mci_state(struct ath_hw *ah, u32 state_type) ...@@ -1191,9 +1191,6 @@ u32 ar9003_mci_state(struct ath_hw *ah, u32 state_type)
AR_MCI_RX_REMOTE_SLEEP) ? AR_MCI_RX_REMOTE_SLEEP) ?
MCI_BT_SLEEP : MCI_BT_AWAKE; MCI_BT_SLEEP : MCI_BT_AWAKE;
break; break;
case MCI_STATE_SET_BT_SLEEP:
mci->bt_state = MCI_BT_SLEEP;
break;
case MCI_STATE_SET_BT_AWAKE: case MCI_STATE_SET_BT_AWAKE:
mci->bt_state = MCI_BT_AWAKE; mci->bt_state = MCI_BT_AWAKE;
ar9003_mci_send_coex_version_query(ah, true); ar9003_mci_send_coex_version_query(ah, true);
......
...@@ -189,7 +189,6 @@ enum mci_bt_state { ...@@ -189,7 +189,6 @@ enum mci_bt_state {
/* Type of state query */ /* Type of state query */
enum mci_state_type { enum mci_state_type {
MCI_STATE_ENABLE, MCI_STATE_ENABLE,
MCI_STATE_SET_BT_SLEEP,
MCI_STATE_SET_BT_AWAKE, MCI_STATE_SET_BT_AWAKE,
MCI_STATE_SET_BT_CAL_START, MCI_STATE_SET_BT_CAL_START,
MCI_STATE_SET_BT_CAL, MCI_STATE_SET_BT_CAL,
......
...@@ -455,7 +455,7 @@ void ath_mci_intr(struct ath_softc *sc) ...@@ -455,7 +455,7 @@ void ath_mci_intr(struct ath_softc *sc)
if ((mci_hw->bt_state == MCI_BT_AWAKE) && if ((mci_hw->bt_state == MCI_BT_AWAKE) &&
(ar9003_mci_state(ah, MCI_STATE_REMOTE_SLEEP) != (ar9003_mci_state(ah, MCI_STATE_REMOTE_SLEEP) !=
MCI_BT_AWAKE)) MCI_BT_AWAKE))
ar9003_mci_state(ah, MCI_STATE_SET_BT_SLEEP); mci_hw->bt_state = MCI_BT_SLEEP;
} }
if ((mci_int & AR_MCI_INTERRUPT_RX_INVALID_HDR) || if ((mci_int & AR_MCI_INTERRUPT_RX_INVALID_HDR) ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment