Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 165b3c4f authored by Emmanuel Grumbach's avatar Emmanuel Grumbach
Browse files

iwlwifi: mvm: BT Coex - duplicate the command if sent ASYNC



There are buses that can't handle ASYNC command without
copying them. Duplicate the host command instead.

Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent 18f84673
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -776,7 +776,7 @@ static int iwl_mvm_bt_coex_reduced_txp(struct iwl_mvm *mvm, u8 sta_id,
	struct iwl_host_cmd cmd = {
	struct iwl_host_cmd cmd = {
		.id = BT_CONFIG,
		.id = BT_CONFIG,
		.len = { sizeof(*bt_cmd), },
		.len = { sizeof(*bt_cmd), },
		.dataflags = { IWL_HCMD_DFL_NOCOPY, },
		.dataflags = { IWL_HCMD_DFL_DUP, },
		.flags = CMD_ASYNC,
		.flags = CMD_ASYNC,
	};
	};
	struct iwl_mvm_sta *mvmsta;
	struct iwl_mvm_sta *mvmsta;