Files
kernel_xiaomi_sm8250/net/wireless
Johannes Berg 03cd7e4e1e cfg80211: fix wiphy_register error path
If rfkill_register() fails in wiphy_register() the struct device
is unregistered but everything else isn't (regulatory, debugfs)
and we even leave the wiphy instance on all internal lists even
though it will likely be freed soon, which is clearly a problem.
Fix this by cleaning up properly.

Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-05-16 22:38:02 +02:00
..
2013-05-16 22:38:02 +02:00
2012-11-16 14:29:09 -05:00
2012-10-18 10:53:37 +02:00
2013-03-06 16:36:11 +01:00
2012-10-18 10:53:37 +02:00
2012-12-07 11:58:26 +01:00