diff options
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 2d5edfda867a..c9e4091cd2bb 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -1845,12 +1845,8 @@ static void ieee80211_rx_mgmt_beacon(struct ieee80211_sub_if_data *sdata, | |||
1845 | bssid, ap_ht_cap_flags); | 1845 | bssid, ap_ht_cap_flags); |
1846 | } | 1846 | } |
1847 | 1847 | ||
1848 | /* Note: country IE parsing is done for us by cfg80211 */ | ||
1848 | if (elems.country_elem) { | 1849 | if (elems.country_elem) { |
1849 | /* Note we are only reviewing this on beacons | ||
1850 | * for the BSSID we are associated to */ | ||
1851 | regulatory_hint_11d(local->hw.wiphy, | ||
1852 | elems.country_elem, elems.country_elem_len); | ||
1853 | |||
1854 | /* TODO: IBSS also needs this */ | 1850 | /* TODO: IBSS also needs this */ |
1855 | if (elems.pwr_constr_elem) | 1851 | if (elems.pwr_constr_elem) |
1856 | ieee80211_handle_pwr_constr(sdata, | 1852 | ieee80211_handle_pwr_constr(sdata, |