diff options
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index d81a4d2cd3aa..30adaddeed27 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -1736,6 +1736,13 @@ static void ieee80211_rx_mgmt_beacon(struct ieee80211_sub_if_data *sdata, | |||
1736 | ap_ht_cap_flags); | 1736 | ap_ht_cap_flags); |
1737 | } | 1737 | } |
1738 | 1738 | ||
1739 | if (elems.country_elem) { | ||
1740 | /* Note we are only reviewing this on beacons | ||
1741 | * for the BSSID we are associated to */ | ||
1742 | regulatory_hint_11d(local->hw.wiphy, | ||
1743 | elems.country_elem, elems.country_elem_len); | ||
1744 | } | ||
1745 | |||
1739 | ieee80211_bss_info_change_notify(sdata, changed); | 1746 | ieee80211_bss_info_change_notify(sdata, changed); |
1740 | } | 1747 | } |
1741 | 1748 | ||