]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: fix allowing country IEs for WIPHY_FLAG_STRICT_REGULATORY
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 20 Oct 2010 17:18:54 +0000 (10:18 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:24:09 +0000 (13:24 -0500)
commit1771cfcf3cb421e963138340574c7656c42fa6f3
tree07269dcd8f82d163c3d7195d536f61b768da6c58
parente389219aa478876ee415b7904b1a8b8ac582b0c8
cfg80211: fix allowing country IEs for WIPHY_FLAG_STRICT_REGULATORY

We should be enabling country IE hints for WIPHY_FLAG_STRICT_REGULATORY
even if we haven't yet recieved regulatory domain hint for the driver
if it needed one. Without this Country IEs are not passed on to drivers
that have set WIPHY_FLAG_STRICT_REGULATORY, today this is just all
Atheros chipset drivers: ath5k, ath9k, ar9170, carl9170.

This was part of the original design, however it was completely
overlooked...

Cc: Easwar Krishnan <easwar.krishnan@atheros.com>
Cc: stable@kernel.org
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/cfg80211.h
net/wireless/reg.c