nl80211: Share more of init/deinit code