iwlwifi: mvm: BT Coex - duplicate the command if sent ASYNC
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 4 May 2015 08:20:52 +0000 (11:20 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 21 May 2015 19:27:03 +0000 (22:27 +0300)
There are buses that can't handle ASYNC command without
copying them. Duplicate the host command instead.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/coex_legacy.c

index d954591e0be58528d138f8738b2cb2325db1fed3..6ac6de2af9779982231d1efb4c6186fad4442f5d 100644 (file)
@@ -776,7 +776,7 @@ static int iwl_mvm_bt_coex_reduced_txp(struct iwl_mvm *mvm, u8 sta_id,
        struct iwl_host_cmd cmd = {
                .id = BT_CONFIG,
                .len = { sizeof(*bt_cmd), },
-               .dataflags = { IWL_HCMD_DFL_NOCOPY, },
+               .dataflags = { IWL_HCMD_DFL_DUP, },
                .flags = CMD_ASYNC,
        };
        struct iwl_mvm_sta *mvmsta;