]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:14:02 +0000 (15:14 -0800)
commit9ccdd7260400862eb08b1ece43d08e21a4f4406e
treee5f4703abd5b02879643a6f8b6714e47256a8a64
parentf3f8c70a0a137e1487f2a306be0bebd9ff11d21e
cfg80211: fix allowing country IEs for WIPHY_FLAG_STRICT_REGULATORY

commit 749b527b21465fb079796c03ffb4302584dc31c1 upstream.

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>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/net/cfg80211.h
net/wireless/reg.c