]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: fix mutex leak in gen2 start
authorJohannes Berg <johannes.berg@intel.com>
Wed, 19 Apr 2017 08:26:02 +0000 (10:26 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 20 Apr 2017 04:27:21 +0000 (07:27 +0300)
commitada2f81cbfbb9ed719f9b2750e08403b4165b4ab
tree59b8bd046309181b701da42092fcf98ffd95ec0c
parent9eb60c2c9d6fb5a0cec695d9414510d86da2b6a8
iwlwifi: pcie: fix mutex leak in gen2 start

If the context info fails to be allocated, the mutex
isn't unlocked properly, fix that.

Fixes: eaa0c43cbdf3 ("iwlwifi: pcie: add context information support")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.c