Commit 3b86acb8 authored by Amitkumar Karwar's avatar Amitkumar Karwar Committed by John W. Linville

mwifiex: correct config_bands handling for ibss network

BAND_G is implicit when BAND_GN is present.
Signed-off-by: default avatarAmitkumar Karwar <akarwar@marvell.com>
Signed-off-by: default avatarBing Zhao <bzhao@marvell.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment