]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cfg80211: enable country IE support to all cfg80211 drivers
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 31 Jul 2009 00:38:09 +0000 (17:38 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Aug 2009 20:44:19 +0000 (16:44 -0400)
commit8b19e6ca3bac7e04e93fb73f561d670e77c5fae6
tree50a1487febe99b670aab253c4eebee2b8b3c8268
parentabc7381bcca6ce9dc101f112a13e14957bfbda7e
cfg80211: enable country IE support to all cfg80211 drivers

Since the bss is always set now once we are connected, if the
bss has its own information element we refer to it and pass that
instead of relying on mac80211's parsing.

Now all cfg80211 drivers get country IE support, automatically and
we reduce the call overhead that we had on mac80211 which called this
upon every beacon and instead now call this only upon a successfull
connection by a STA on cfg80211.

Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/cfg80211.h
net/mac80211/mlme.c
net/wireless/reg.c
net/wireless/reg.h
net/wireless/sme.c