aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>2012-06-12 10:48:19 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-06-13 14:36:00 -0400
commitd02ca07e6fdf89ed6f453fe1c9229c71a0358886 (patch)
tree2d35a48bddec309c45d74929ec9ff28a3457c844 /drivers/net
parent2d340ac81e7474535db7a14f35c80b45b02b63a1 (diff)
ath9k_hw: remove MCI_STATE_NEED_FLUSH_BT_INFO
Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_mci.c17
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_mci.h1
2 files changed, 0 insertions, 18 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mci.c b/drivers/net/wireless/ath/ath9k/ar9003_mci.c
index 3b44ebe3f750..9a761a1fe1bf 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_mci.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_mci.c
@@ -1245,23 +1245,6 @@ u32 ar9003_mci_state(struct ath_hw *ah, u32 state_type, u32 *p_data)
1245 query_type = MCI_GPM_COEX_QUERY_BT_TOPOLOGY; 1245 query_type = MCI_GPM_COEX_QUERY_BT_TOPOLOGY;
1246 ar9003_mci_send_coex_bt_status_query(ah, true, query_type); 1246 ar9003_mci_send_coex_bt_status_query(ah, true, query_type);
1247 break; 1247 break;
1248 case MCI_STATE_NEED_FLUSH_BT_INFO:
1249 /*
1250 * btcoex_hw.mci.unhalt_bt_gpm means whether it's
1251 * needed to send UNHALT message. It's set whenever
1252 * there's a request to send HALT message.
1253 * mci_halted_bt_gpm means whether HALT message is sent
1254 * out successfully.
1255 *
1256 * Checking (mci_unhalt_bt_gpm == false) instead of
1257 * checking (ah->mci_halted_bt_gpm == false) will make
1258 * sure currently is in UNHALT-ed mode and BT can
1259 * respond to status query.
1260 */
1261 value = (!mci->unhalt_bt_gpm && mci->need_flush_btinfo) ? 1 : 0;
1262 if (p_data)
1263 mci->need_flush_btinfo = (*p_data != 0) ? true : false;
1264 break;
1265 case MCI_STATE_RECOVER_RX: 1248 case MCI_STATE_RECOVER_RX:
1266 ar9003_mci_prep_interface(ah); 1249 ar9003_mci_prep_interface(ah);
1267 mci->query_bt = true; 1250 mci->query_bt = true;
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mci.h b/drivers/net/wireless/ath/ath9k/ar9003_mci.h
index 05f42a98aeac..a7c17e5b90d4 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_mci.h
+++ b/drivers/net/wireless/ath/ath9k/ar9003_mci.h
@@ -203,7 +203,6 @@ enum mci_state_type {
203 MCI_STATE_SEND_WLAN_COEX_VERSION, 203 MCI_STATE_SEND_WLAN_COEX_VERSION,
204 MCI_STATE_SEND_VERSION_QUERY, 204 MCI_STATE_SEND_VERSION_QUERY,
205 MCI_STATE_SEND_STATUS_QUERY, 205 MCI_STATE_SEND_STATUS_QUERY,
206 MCI_STATE_NEED_FLUSH_BT_INFO,
207 MCI_STATE_SET_CONCUR_TX_PRI, 206 MCI_STATE_SET_CONCUR_TX_PRI,
208 MCI_STATE_RECOVER_RX, 207 MCI_STATE_RECOVER_RX,
209 MCI_STATE_NEED_FTP_STOMP, 208 MCI_STATE_NEED_FTP_STOMP,