]> 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 22:46:58 +0000 (14:46 -0800)
commit4bd652a53bd711ef0ef8d42c5525bc6d71aeef54
tree6279f464ef8a329e6ba61011f866a0bb87d65c1f
parent6b7ea7728843a3e94eacdafc05bddb0206880bc0
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