summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2013-01-09 02:53:11 +0100
committerJohn W. Linville <linville@tuxdriver.com>2013-01-11 20:12:01 +0100
commit3b86acb8088d0c7c4cddc340a13dec5cef110e30 (patch)
tree1b9c53c079e77be554f6d2a3e067334a01826253
parentmwifiex: update config_bands during infra association (diff)
downloadlinux-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.c2
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(&params->chandef) !=
NL80211_CHAN_NO_HT)
- config_bands |= BAND_GN;
+ config_bands |= BAND_G | BAND_GN;
} else {
if (cfg80211_get_chandef_type(&params->chandef) ==
NL80211_CHAN_NO_HT)