iwlwifi: mvm: unref SCAN ref on scan completion
authorEliad Peller <eliad@wizery.com>
Sun, 22 Jun 2014 11:44:44 +0000 (14:44 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 29 Oct 2014 12:13:47 +0000 (14:13 +0200)
commit4ff78181f4efa91e914e2d0940f3bdc4685aae6b
tree93670d76abc02a46dafa539606df724051fd4730
parentd8bafeaf46a0e442723859f58fbf863f7c39875f
iwlwifi: mvm: unref SCAN ref on scan completion

The scan reference wasn't released in case of offloaded scan,
causing the refcount to go wrong and prevent the device
from going into d0i3.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/scan.c