]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc869b37be3ac5936bb8d284c49e51a5129c0bc33
treee7ec076b7842d20371f217b833c93859b4a76187
parent0707aac0bc60f0fae875e4cc6aad6e06a3c494be
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