diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2013-01-09 02:53:11 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-01-11 20:12:01 +0100 |
commit | 3b86acb8088d0c7c4cddc340a13dec5cef110e30 (patch) | |
tree | 1b9c53c079e77be554f6d2a3e067334a01826253 | |
parent | mwifiex: update config_bands during infra association (diff) | |
download | linux-3b86acb8088d0c7c4cddc340a13dec5cef110e30.tar.xz linux-3b86acb8088d0c7c4cddc340a13dec5cef110e30.zip |
mwifiex: correct config_bands handling for ibss network
BAND_G is implicit when BAND_GN is present.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/mwifiex/cfg80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c index e74e1b99419a..cdb11b3964e2 100644 --- a/drivers/net/wireless/mwifiex/cfg80211.c +++ b/drivers/net/wireless/mwifiex/cfg80211.c @@ -1694,7 +1694,7 @@ static int mwifiex_set_ibss_params(struct mwifiex_private *priv, if (cfg80211_get_chandef_type(¶ms->chandef) != NL80211_CHAN_NO_HT) - config_bands |= BAND_GN; + config_bands |= BAND_G | BAND_GN; } else { if (cfg80211_get_chandef_type(¶ms->chandef) == NL80211_CHAN_NO_HT) |