brcm80211: smac: always set channel specified by mac80211
authorSeth Forshee <seth.forshee@canonical.com>
Sat, 16 Jun 2012 12:47:49 +0000 (07:47 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 Jun 2012 19:14:28 +0000 (15:14 -0400)
commit91691295527d3fd63f12079222df0fd8048acccb
tree654f01e27495457ca704a1f764a869ff3d732b4f
parent0bd8b79fe928b88ebaf36f2621f921a2fc09ea9c
brcm80211: smac: always set channel specified by mac80211

In some situations brcmsmac is choosing a channel internally. This makes
it difficult at times to know what channel to use for enforcing
regulatory constraints, so instead always use the channel from the
mac80211 configuration.

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/main.c