diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2013-01-08 20:53:11 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-01-11 14:12:01 -0500 |
commit | 3b86acb8088d0c7c4cddc340a13dec5cef110e30 (patch) | |
tree | 1b9c53c079e77be554f6d2a3e067334a01826253 /drivers | |
parent | d7b9c5204e9c6810a20d509ee47bc70419096e59 (diff) |
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>
Diffstat (limited to 'drivers')
-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, | |||
1694 | 1694 | ||
1695 | if (cfg80211_get_chandef_type(¶ms->chandef) != | 1695 | if (cfg80211_get_chandef_type(¶ms->chandef) != |
1696 | NL80211_CHAN_NO_HT) | 1696 | NL80211_CHAN_NO_HT) |
1697 | config_bands |= BAND_GN; | 1697 | config_bands |= BAND_G | BAND_GN; |
1698 | } else { | 1698 | } else { |
1699 | if (cfg80211_get_chandef_type(¶ms->chandef) == | 1699 | if (cfg80211_get_chandef_type(¶ms->chandef) == |
1700 | NL80211_CHAN_NO_HT) | 1700 | NL80211_CHAN_NO_HT) |