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:
Houston Hoffman 2016-11-23 15:10:15 -08:00 • committed by qcabuildsw
commit a15d0b0eae

View file

@ -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);