]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - net/mac80211/mlme.c
cfg80211: enable country IE support to all cfg80211 drivers
[linux-2.6.git] / net / mac80211 / mlme.c
index 2d5edfda867a668d9a17a31191ad3f2864dddd73..c9e4091cd2bb915ae7d96718654e1ca3d5bba789 100644 (file)
@@ -1845,12 +1845,8 @@ static void ieee80211_rx_mgmt_beacon(struct ieee80211_sub_if_data *sdata,
                                               bssid, ap_ht_cap_flags);
        }
 
+       /* Note: country IE parsing is done for us by cfg80211 */
        if (elems.country_elem) {
-               /* Note we are only reviewing this on beacons
-                * for the BSSID we are associated to */
-               regulatory_hint_11d(local->hw.wiphy,
-                       elems.country_elem, elems.country_elem_len);
-
                /* TODO: IBSS also needs this */
                if (elems.pwr_constr_elem)
                        ieee80211_handle_pwr_constr(sdata,