diff options
author | Rajkumar Manoharan <rmanohar@qca.qualcomm.com> | 2012-09-12 17:29:21 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-09-24 22:59:06 +0400 |
commit | d92bb98f0c13f711bb04f447f7e19da0163eded2 (patch) | |
tree | 6af639ee2c780bb181c72482dd60a487bad34b8c /drivers/net/wireless/ath/ath9k/ar9003_mci.c | |
parent | bfbee42793a564762d2681d88dc19f4c2d8ee6fd (diff) | |
download | linux-d92bb98f0c13f711bb04f447f7e19da0163eded2.tar.xz |
ath9k: flush bt profile whenever it is requested
Before processing BT profiles or status messages, check whether
it is requested to flush BT profile. Otherwise it might increase
number of BT profiles that affects the WLAN performance. Also
flush the profiles when MCI is recovering from broken rx. After
flushing BT profiles, query BT topology to refetch them.
Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_mci.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9003_mci.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mci.c b/drivers/net/wireless/ath/ath9k/ar9003_mci.c index f6eb43ee87ee..8d8df4b2c386 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_mci.c +++ b/drivers/net/wireless/ath/ath9k/ar9003_mci.c @@ -1236,6 +1236,10 @@ u32 ar9003_mci_state(struct ath_hw *ah, u32 state_type) case MCI_STATE_NEED_FTP_STOMP: value = !(mci->config & ATH_MCI_CONFIG_DISABLE_FTP_STOMP); break; + case MCI_STATE_NEED_FLUSH_BT_INFO: + value = (!mci->unhalt_bt_gpm && mci->need_flush_btinfo) ? 1 : 0; + mci->need_flush_btinfo = false; + break; default: break; } |