diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/dvm/lib.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/dvm/lib.c b/drivers/net/wireless/iwlwifi/dvm/lib.c index cb1ca7a25dd..76f259283c3 100644 --- a/drivers/net/wireless/iwlwifi/dvm/lib.c +++ b/drivers/net/wireless/iwlwifi/dvm/lib.c | |||
@@ -1265,7 +1265,7 @@ int iwl_dvm_send_cmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd) | |||
1265 | * the mutex, this ensures we don't try to send two | 1265 | * the mutex, this ensures we don't try to send two |
1266 | * (or more) synchronous commands at a time. | 1266 | * (or more) synchronous commands at a time. |
1267 | */ | 1267 | */ |
1268 | if (cmd->flags & CMD_SYNC) | 1268 | if (!(cmd->flags & CMD_ASYNC)) |
1269 | lockdep_assert_held(&priv->mutex); | 1269 | lockdep_assert_held(&priv->mutex); |
1270 | 1270 | ||
1271 | if (priv->ucode_owner == IWL_OWNERSHIP_TM && | 1271 | if (priv->ucode_owner == IWL_OWNERSHIP_TM && |