]> git.baikalelectronics.ru Git - kernel.git/commit
brcm80211: smac: enable/disable radio on regulatory updates
authorSeth Forshee <seth.forshee@canonical.com>
Sat, 16 Jun 2012 12:47:53 +0000 (07:47 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 Jun 2012 19:14:35 +0000 (15:14 -0400)
commit5abae2913fe12c77dd63e51ae2dc167fa1109d05
tree4d6b2fdfabfcf1ca4f332416f759b0701bc81e00
parentfc16ea4d57630e59174ce4ac9b4c7744f98e0376
brcm80211: smac: enable/disable radio on regulatory updates

Currently the radio disable state is only updated during initialization,
and it's only checked against the internal world domain. This is
unnecessary, as there are always valid channels against this domain.
Instead, check whether any channels are enabled in the regulatory
notifier and update the radio state accordingly.

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