rtlwifi: btcoex: 21a 1ant: re-init coex after wifi leaves IPS
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Thu, 11 May 2017 23:24:38 +0000 (18:24 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 18 May 2017 14:08:28 +0000 (17:08 +0300)
commitee406cec878941d997d4e7e02493079cf21109ec
tree419d956c9c7c9646702d591715a0c1f76c84b959
parent7ad6ff8897a8deb162b7d12adaa6c329748bf4f1
rtlwifi: btcoex: 21a 1ant: re-init coex after wifi leaves IPS

Before entering IPS, set the PTA control to default value and re-init it
after it leaves IPS to avoid running some redundant code in
run_coexist_mechanism.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Pkshih <pkshih@realtek.com>
Cc: Birming Chiu <birming@realtek.com>
Cc: Shaofu <shaofu@realtek.com>
Cc: Steven Ting <steventing@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c