iwlwifi: clean up properly when registration with mac80211 fails
authorMeenakshi Venkataraman <meenakshi.venkataraman@intel.com>
Tue, 17 Jul 2012 20:05:03 +0000 (13:05 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 26 Jul 2012 06:54:55 +0000 (08:54 +0200)
commit273a5768211450a303c455ff111b77d7ae621973
tree5f66bee035f17929664d0031a1659ebff0ebc41a
parent1c8e11e117c28ef6b9591b489f2bbd38894ba811
iwlwifi: clean up properly when registration with mac80211 fails

If registration with mac80211 fails, stop the thermal
throttling and testmode work that were previously started.

Signed-off-by: Meenakshi Venkataraman <meenakshi.venkataraman@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/main.c