mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacmn: Do wlan_disable/enable for QCA6290
QCA6290 needs the platform QMI handshake to kick off fw. Platform will have logic to not do QMI for targets/ platforms that don't support QMI. Change-Id: I9643d778f25e4059baae903876d44dd2c77d9aaa CRs-Fixed: 1097382
This commit is contained in:
parent
d0620a35b3
commit
a15d0b0eae
1 changed files with 6 additions and 10 deletions
|
|
@ -2032,14 +2032,11 @@ int hif_pci_bus_configure(struct hif_softc *hif_sc)
|
|||
QDF_TIMER_TYPE_WAKE_APPS);
|
||||
hif_state->sleep_timer_init = true;
|
||||
|
||||
if (ADRASTEA_BU) {
|
||||
status = hif_wlan_enable(hif_sc);
|
||||
|
||||
if (status) {
|
||||
HIF_ERROR("%s: hif_wlan_enable error = %d",
|
||||
__func__, status);
|
||||
goto timer_free;
|
||||
}
|
||||
status = hif_wlan_enable(hif_sc);
|
||||
if (status) {
|
||||
HIF_ERROR("%s: hif_wlan_enable error = %d",
|
||||
__func__, status);
|
||||
goto timer_free;
|
||||
}
|
||||
|
||||
A_TARGET_ACCESS_LIKELY(hif_sc);
|
||||
|
|
@ -2104,8 +2101,7 @@ unconfig_ce:
|
|||
hif_unconfig_ce(hif_sc);
|
||||
disable_wlan:
|
||||
A_TARGET_ACCESS_UNLIKELY(hif_sc);
|
||||
if (ADRASTEA_BU)
|
||||
hif_wlan_disable(hif_sc);
|
||||
hif_wlan_disable(hif_sc);
|
||||
|
||||
timer_free:
|
||||
qdf_timer_stop(&hif_state->sleep_timer);
|
||||
|
|
|
|||
Loading…
Reference in a new issue