mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: Set ipa_pipes_down TRUE after IPA pipes are disabled
Set ipa_pipes_down flag TRUE only when IPA pipes are successfully suspended and disabled. This will force IPA pipes to be disabled when SAP closed. Change-Id: Ieb3b3d5440c2d279648b08d238d1472613800fea CRs-Fixed: 2096338
This commit is contained in:
parent
c0ca1fc4de
commit
3b7152b061
1 changed files with 6 additions and 7 deletions
|
|
@ -5185,10 +5185,10 @@ static int __hdd_ipa_wlan_evt(struct hdd_adapter *adapter, uint8_t sta_id,
|
|||
msg_ex->name);
|
||||
} else {
|
||||
/* Disable IPA UC TX PIPE when STA disconnected */
|
||||
if (!hdd_ipa->num_iface &&
|
||||
if ((1 == hdd_ipa->num_iface) &&
|
||||
(HDD_IPA_UC_NUM_WDI_PIPE ==
|
||||
hdd_ipa->activated_fw_pipe) &&
|
||||
!hdd_ipa->ipa_pipes_down)
|
||||
hdd_ipa->activated_fw_pipe) &&
|
||||
!hdd_ipa->ipa_pipes_down)
|
||||
hdd_ipa_uc_handle_last_discon(hdd_ipa);
|
||||
}
|
||||
|
||||
|
|
@ -5220,10 +5220,9 @@ static int __hdd_ipa_wlan_evt(struct hdd_adapter *adapter, uint8_t sta_id,
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
if ((!hdd_ipa->num_iface) &&
|
||||
(HDD_IPA_UC_NUM_WDI_PIPE ==
|
||||
hdd_ipa->activated_fw_pipe) &&
|
||||
!hdd_ipa->ipa_pipes_down) {
|
||||
if ((1 == hdd_ipa->num_iface) &&
|
||||
(HDD_IPA_UC_NUM_WDI_PIPE == hdd_ipa->activated_fw_pipe) &&
|
||||
!hdd_ipa->ipa_pipes_down) {
|
||||
if (cds_is_driver_unloading()) {
|
||||
/*
|
||||
* We disable WDI pipes directly here since
|
||||
|
|
|
|||
Loading…
Reference in a new issue