• L
    cfg80211: fix regression on processing country IEs · a171fba4
    Luis R. Rodriguez 提交于
    The patch 4f366c5d:
    
    	wireless: only use alpha2 regulatory information from country IE
    
    removed some complex intersection we were always doing between the AP's
    country IE info and what we got from CRDA. When CRDA sent us back a
    regulatory domain we would do some sanity checks on that regulatory
    domain response we just got. Part of these sanity checks included
    checking that we already had performed an intersection for the
    request of NL80211_REGDOM_SET_BY_COUNTRY_IE type.
    
    This mean that cfg80211 was only processing country IEs for cases
    where we already had an intersection, but since we removed enforcing
    this this is no longer required, we should just apply the country
    IE country hint with the data received from CRDA.
    
    This patch has fixes intended for kernels >= 2.6.36.
    
    Cc: stable@kernel.org
    Reported-by: NEaswar Krishnan <easwar.krishnan@atheros.com>
    Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
    Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
    a171fba4
reg.c 53.1 KB