]> 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)
commit657ae5bd7610ecaa3e233a2b124982b33455a6e5
tree4d6b2fdfabfcf1ca4f332416f759b0701bc81e00
parent1e357e21176b853399d202c0d44ccea7d92688f3
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