]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
mwifiex: fix typo in setting up ibss network parameters
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 3 Jan 2013 01:32:19 +0000 (17:32 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 4 Jan 2013 21:09:48 +0000 (16:09 -0500)
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>
drivers/net/wireless/mwifiex/cfg80211.c

index a875499f89452d7ab4a4307b72c0475d5829f470..efe525be27dd3607f63c76e49d089d5f7e34d0d5 100644 (file)
@@ -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