cfg80211: calls nl80211_exit on error
authorJunjie Mao <junjie_mao@yeah.net>
Wed, 28 Jan 2015 02:03:26 +0000 (10:03 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 24 Feb 2015 10:41:21 +0000 (11:41 +0100)
commit81daf735f9fe35ef6bc4073068748b221d64fb47
tree642c10e68fa1480ce44d6f972fdb8267a953519a
parent28981e5eb45fe13e1d2c9e0e2e189dc5c8682006
cfg80211: calls nl80211_exit on error

nl80211_exit should be called in cfg80211_init if nl80211_init succeeds
but regulatory_init or create_singlethread_workqueue fails.

Signed-off-by: Junjie Mao <junjie_mao@yeah.net>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.c