]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/wireless/reg.c
cfg80211: really ignore the regulatory request
[karo-tx-linux.git] / net / wireless / reg.c
index 1ad0f39fe0913415b47888f74d12651529ee9cc5..4453eb721e1344a9e9d4c794d2aa5450445bf1a5 100644 (file)
@@ -1125,12 +1125,13 @@ void wiphy_update_regulatory(struct wiphy *wiphy,
        enum ieee80211_band band;
 
        if (ignore_reg_update(wiphy, initiator))
-               goto out;
+               return;
+
        for (band = 0; band < IEEE80211_NUM_BANDS; band++) {
                if (wiphy->bands[band])
                        handle_band(wiphy, band, initiator);
        }
-out:
+
        reg_process_beacons(wiphy);
        reg_process_ht_flags(wiphy);
        if (wiphy->reg_notifier)