qcacmn: handle_last_discon to disable IPA in dual SAP mode

In dual SAP connection, calls only disable_pipes to disable IPA,
whereas during second SAP disconnection, to enable IPA, calls
wlan_ipa_uc_handle_first_con, which sends ipa_set_active MSG
as true to FW, for both Tx/Rx to resume.
So calling wlan_ipa_uc_handle_last_discon in dual SAP mode,
which sends ipa_set_active MSG as false to FW, to suspend.

Change-Id: I224e94a003030f497e15f242634f15d9c71b9ef0
CRs-Fixed: 3094276
This commit is contained in:
Vevek V
2021-12-21 13:05:06 +05:30
committed by Madan Koyyalamudi
parent 9a5fdf9dfb
commit 03017ea28c

View File

@@ -2318,7 +2318,7 @@ void wlan_ipa_handle_multiple_sap_evt(struct wlan_ipa_priv *ipa_ctx,
}
if (!ipa_ctx->ipa_pipes_down)
wlan_ipa_uc_disable_pipes(ipa_ctx, true);
wlan_ipa_uc_handle_last_discon(ipa_ctx, true);
}
}
#endif