]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: only release the trans ref if d0i3 is supported in fw
authorLuca Coelho <luciano.coelho@intel.com>
Mon, 22 Feb 2016 13:44:13 +0000 (15:44 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 2 Mar 2016 06:59:19 +0000 (08:59 +0200)
commit5a190c09fa77bf100ff17b6d5c9b809a4b47c0a2
treedea9eb412ddd94fbd7c6c57bf1662b3e2f7139af
parent10f7a7d1d02ee006ea9cccd74ccbe1759da9a2ef
iwlwifi: mvm: only release the trans ref if d0i3 is supported in fw

If d0i3 is not supported by the firmware (or if it's disabled via
module parameters) we shouldn't release the initial transport
reference, so that we won't enter runtime suspend.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/ops.c