]> git.baikalelectronics.ru Git - kernel.git/commit
brcm80211: smac: use current regulatory domain when checking whether OFDM is allowed
authorSeth Forshee <seth.forshee@canonical.com>
Sat, 16 Jun 2012 12:47:56 +0000 (07:47 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 Jun 2012 19:14:40 +0000 (15:14 -0400)
commitce8f94bc544b6ee5b03602c966643c67d73bd9b4
tree02942a1b03376e63f04395667681dad3b4d9d517
parentcf97cca911c7a99ed643244cd4f3cda56fc770f3
brcm80211: smac: use current regulatory domain when checking whether OFDM is allowed

The brcmsmac internal regulatory data is being used to determine whether
OFDM should be allowed, and this is only done once during
initialization. To be effective this needs to be checked against
mac80211's regulatory rules for the current channel.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/channel.c
drivers/net/wireless/brcm80211/brcmsmac/channel.h
drivers/net/wireless/brcm80211/brcmsmac/main.c