summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitkumar Karwar2013-01-03 02:32:19 +0100
committerJohn W. Linville2013-01-04 22:09:48 +0100
commitc3ff0b2dff5b6c63f2deda8f934c0a21fb74850d (patch)
treedaeb0374837f0b3b72c4779bac163c968f7b2008
parentmwifiex: check wait_event_interruptible return value (diff)
downloadkernel-qcow2-linux-c3ff0b2dff5b6c63f2deda8f934c0a21fb74850d.tar.gz
kernel-qcow2-linux-c3ff0b2dff5b6c63f2deda8f934c0a21fb74850d.tar.xz
kernel-qcow2-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>
-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 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(&params->chandef) !=
+ if (cfg80211_get_chandef_type(&params->chandef) ==
NL80211_CHAN_NO_HT)
config_bands = BAND_A;
else