diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2013-01-03 02:32:19 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-01-04 22:09:48 +0100 |
commit | c3ff0b2dff5b6c63f2deda8f934c0a21fb74850d (patch) | |
tree | daeb0374837f0b3b72c4779bac163c968f7b2008 /drivers/net/wireless/mwifiex | |
parent | mwifiex: check wait_event_interruptible return value (diff) | |
download | linux-c3ff0b2dff5b6c63f2deda8f934c0a21fb74850d.tar.xz linux-c3ff0b2dff5b6c63f2deda8f934c0a21fb74850d.zip |
mwifiex: fix typo in setting up ibss network parameters
commit 683b6d3... "cfg80211: pass a channel definition struct"
accidentally changed "==" to "!=".
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/net/wireless/mwifiex')
-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 a875499f8945..efe525be27dd 100644 --- a/drivers/net/wireless/mwifiex/cfg80211.c +++ b/drivers/net/wireless/mwifiex/cfg80211.c @@ -1709,7 +1709,7 @@ static int mwifiex_set_ibss_params(struct mwifiex_private *priv, NL80211_CHAN_NO_HT) config_bands |= BAND_GN; } else { - if (cfg80211_get_chandef_type(¶ms->chandef) != + if (cfg80211_get_chandef_type(¶ms->chandef) == NL80211_CHAN_NO_HT) config_bands = BAND_A; else |