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)
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

Simple merge