diff options
author | Yogesh Ashok Powar <yogeshp@marvell.com> | 2011-04-02 03:36:47 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-07 21:34:12 +0200 |
commit | 2be50b8df53f2f329b7ddcc8be286ef6a7469fd2 (patch) | |
tree | 7ae394235800749a21c89c5ea510a4b5d73f8f88 /drivers/net/wireless/mwifiex/join.c | |
parent | mwifiex: return success in set_default_key for WPA/WPA2 (diff) | |
download | linux-2be50b8df53f2f329b7ddcc8be286ef6a7469fd2.tar.xz linux-2be50b8df53f2f329b7ddcc8be286ef6a7469fd2.zip |
mwifiex: remove redundant encryption_mode mapping
remove MWIFIEX_ENCRYPTION_MODE_ and use WLAN_CIPHER_SUITE_
macros directly
Signed-off-by: Yogesh Ashok Powar <yogeshp@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/join.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/join.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/join.c b/drivers/net/wireless/mwifiex/join.c index 8a1eb2a9ab13..7a9e0b5962ed 100644 --- a/drivers/net/wireless/mwifiex/join.c +++ b/drivers/net/wireless/mwifiex/join.c @@ -869,7 +869,7 @@ mwifiex_cmd_802_11_ad_hoc_start(struct mwifiex_private *priv, tmp_cap |= WLAN_CAPABILITY_IBSS; /* Set up privacy in bss_desc */ - if (priv->sec_info.encryption_mode != MWIFIEX_ENCRYPTION_MODE_NONE) { + if (priv->sec_info.encryption_mode) { /* Ad-Hoc capability privacy on */ dev_dbg(adapter->dev, "info: ADHOC_S_CMD: wep_status set privacy to WEP\n"); |