diff options
author | Arend van Spriel <arend@broadcom.com> | 2011-02-10 11:03:43 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-18 20:45:58 (GMT) |
commit | 9d2c415612bc6dd300e7feffebf193243536eaea (patch) | |
tree | 6a5e58f363968b848c98eb69346d4ff11f9c1713 /drivers | |
parent | 4a0791505639fcbb33b410c2a353d06688909188 (diff) | |
download | linux-fsl-qoriq-9d2c415612bc6dd300e7feffebf193243536eaea.tar.xz |
staging: brcm80211: return error code to mac80211 for 40MHz channels
When mac80211 attempts to configure the driver for 40MHz channel it
will return an error code -EIO as this is not yet supported.
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Brett Rudley <brudley@broadcom.com>
Reviewed-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/brcm80211/brcmsmac/wl_mac80211.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/brcm80211/brcmsmac/wl_mac80211.c b/drivers/staging/brcm80211/brcmsmac/wl_mac80211.c index 46e765e..ce115f2 100644 --- a/drivers/staging/brcm80211/brcmsmac/wl_mac80211.c +++ b/drivers/staging/brcm80211/brcmsmac/wl_mac80211.c @@ -246,6 +246,7 @@ ieee_set_channel(struct ieee80211_hw *hw, struct ieee80211_channel *chan, case NL80211_CHAN_HT40MINUS: case NL80211_CHAN_HT40PLUS: WL_ERROR("%s: Need to implement 40 Mhz Channels!\n", __func__); + err = 1; break; } |