mac80211_hwsim: refactor radio registration
authorJohannes Berg <johannes.berg@intel.com>
Mon, 6 Jan 2014 21:39:27 +0000 (22:39 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 10 Jan 2014 19:12:57 +0000 (20:12 +0100)
commitf39c2bfa9a1e2bae726cce65d2d328652e81f0c2
treee7ec076b7842d20371f217b833c93859b4a76187
parent3a8cc5e73f7105faf32fb8df57ba3e7b967e1982
mac80211_hwsim: refactor radio registration

In order to support dynamic radio registration in the future,
refactor the actual registration into a new function with only
minor cleanups. Since it had to change anyway, also clean up
the init error paths.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c