浏览代码

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
Vevek V 3 年之前
父节点
当前提交
03017ea28c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ipa/core/src/wlan_ipa_core.c

+ 1 - 1
ipa/core/src/wlan_ipa_core.c

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