iwlwifi: mvm: don't double unlock the mutex in __iwl_mvm_resume()
authorLuciano Coelho <luciano.coelho@intel.com>
Thu, 12 Mar 2015 07:25:15 +0000 (09:25 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 12 Mar 2015 07:57:48 +0000 (09:57 +0200)
commit0c2ae049aef7fe1b8800db3f28c23520150bfd78
treed93f60dbb888b68dd3683bcf7040baef7a1680f7
parentbca13904d0558ad4160441ebb00b37e44a19483f
iwlwifi: mvm: don't double unlock the mutex in __iwl_mvm_resume()

When IWLWIFI_DEBUGFS is not set, we should not unlock the mutex after
calling iwl_mvm_query_wakeup_reasons(), because this function unlocks
it already.  Move the goto out_iterate outside the #ifdef.

Change-Id: I13d86402aecf0eeec44b1abbe2b244fbc706a5eb
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
drivers/net/wireless/iwlwifi/mvm/d3.c