summaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless')
-rw-r--r--net/wireless/reg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index bc494cef2102..0f93d4526f37 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -947,9 +947,9 @@ void wiphy_update_regulatory(struct wiphy *wiphy, enum reg_set_by setby)
for (band = 0; band < IEEE80211_NUM_BANDS; band++) {
if (wiphy->bands[band])
handle_band(wiphy, band);
- if (wiphy->reg_notifier)
- wiphy->reg_notifier(wiphy, setby);
}
+ if (wiphy->reg_notifier)
+ wiphy->reg_notifier(wiphy, setby);
}
/* Return value which can be used by ignore_request() to indicate
OpenPOWER on IntegriCloud