提交 3b86acb8 编写于 作者: A Amitkumar Karwar 提交者: John W. Linville

mwifiex: correct config_bands handling for ibss network

BAND_G is implicit when BAND_GN is present.
Signed-off-by: NAmitkumar Karwar <akarwar@marvell.com>
Signed-off-by: NBing Zhao <bzhao@marvell.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 d7b9c520
...@@ -1694,7 +1694,7 @@ static int mwifiex_set_ibss_params(struct mwifiex_private *priv, ...@@ -1694,7 +1694,7 @@ static int mwifiex_set_ibss_params(struct mwifiex_private *priv,
if (cfg80211_get_chandef_type(&params->chandef) != if (cfg80211_get_chandef_type(&params->chandef) !=
NL80211_CHAN_NO_HT) NL80211_CHAN_NO_HT)
config_bands |= BAND_GN; config_bands |= BAND_G | BAND_GN;
} else { } else {
if (cfg80211_get_chandef_type(&params->chandef) == if (cfg80211_get_chandef_type(&params->chandef) ==
NL80211_CHAN_NO_HT) NL80211_CHAN_NO_HT)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册