staging: brcm80211: allow changing channel by mac80211 when associated
authorArend van Spriel <arend@broadcom.com>
Tue, 22 Feb 2011 10:12:09 +0000 (11:12 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Feb 2011 22:07:30 +0000 (14:07 -0800)
commiteff1b99a6fc8eb25913fab7cd30eaeb6ca91349a
treeff8c3d59ae23aa6e2bb28aae290f50a0696ff0ad
parentf317154929f87d2fe799179761d1b639af33de74
staging: brcm80211: allow changing channel by mac80211 when associated

When associated on 5G the driver receives a probe request for 2G with
a 2G rate specified. The driver asserts as the operating band is still
5G when the probe request packet is given. Root cause was that ioctl
function did fail upon setting the channel as requested by mac80211
when we are associated.

Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/wlc_bsscfg.h
drivers/staging/brcm80211/brcmsmac/wlc_mac80211.c