]> 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)
commita3cd6cebe471aeaf8de5daab02f105ae1fc9dab1
tree02942a1b03376e63f04395667681dad3b4d9d517
parentdfa7a21673f0d7df9d9094ba531e336d9704f24c
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