diff --git a/net/mac80211/main.c b/net/mac80211/main.c index aba094b4ccfc0918859186552b730dde74934c03..2d05c4cfaf6d6401217e6fe19387e112a25a1f7b 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -1292,8 +1292,8 @@ int ieee80211_register_hw(struct ieee80211_hw *hw) ieee80211_remove_interfaces(local); fail_rate: rtnl_unlock(); - ieee80211_led_exit(local); fail_flows: + ieee80211_led_exit(local); destroy_workqueue(local->workqueue); fail_workqueue: wiphy_unregister(local->hw.wiphy);