iwlwifi: mvm: clean refs before stop_device()
authorEliad Peller <eliad@wizery.com>
Wed, 10 Dec 2014 16:44:13 +0000 (18:44 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 28 Dec 2014 18:00:23 +0000 (20:00 +0200)
commit744cb695643ac111c422e4c517961646561b6895
treeb887d024685c41ffac7e695a74f704c643888dbb
parentbd9c504bfd659e58d3537123e6798a9b83a2263d
iwlwifi: mvm: clean refs before stop_device()

Some implementations (i.e. mini_rpm) assume the references
are managed only while the device is started.

Move the stale reference cleanup before stopping the
device in order to make them happy.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c