1 diff -Naur linux-4.9.8.org/drivers/net/wireless/ath/regd.c linux-4.9.8/drivers/net/wireless/ath/regd.c
2 --- linux-4.9.8.org/drivers/net/wireless/ath/regd.c 2017-02-04 09:47:29.000000000 +0100
3 +++ linux-4.9.8/drivers/net/wireless/ath/regd.c 2017-02-11 15:31:20.502527360 +0100
5 struct ieee80211_channel *ch;
10 for (band = 0; band < NUM_NL80211_BANDS; band++) {
11 if (!wiphy->bands[band])
15 struct ieee80211_supported_band *sband;
19 sband = wiphy->bands[NL80211_BAND_2GHZ];
23 struct ieee80211_channel *ch;
28 if (!wiphy->bands[NL80211_BAND_5GHZ])
33 const struct ieee80211_regdomain *regd;
37 wiphy->reg_notifier = reg_notifier;
38 wiphy->regulatory_flags |= REGULATORY_STRICT_REG |
39 REGULATORY_CUSTOM_REG;