diff options
Diffstat (limited to 'net/wireless/reg.c')
-rw-r--r-- | net/wireless/reg.c | 4 |
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) | |||
947 | for (band = 0; band < IEEE80211_NUM_BANDS; band++) { | 947 | for (band = 0; band < IEEE80211_NUM_BANDS; band++) { |
948 | if (wiphy->bands[band]) | 948 | if (wiphy->bands[band]) |
949 | handle_band(wiphy, band); | 949 | handle_band(wiphy, band); |
950 | if (wiphy->reg_notifier) | ||
951 | wiphy->reg_notifier(wiphy, setby); | ||
952 | } | 950 | } |
951 | if (wiphy->reg_notifier) | ||
952 | wiphy->reg_notifier(wiphy, setby); | ||
953 | } | 953 | } |
954 | 954 | ||
955 | /* Return value which can be used by ignore_request() to indicate | 955 | /* Return value which can be used by ignore_request() to indicate |