diff options
author | Yogesh Ashok Powar <yogeshp@marvell.com> | 2011-04-01 21:36:47 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-07 15:34:12 -0400 |
commit | 2be50b8df53f2f329b7ddcc8be286ef6a7469fd2 (patch) | |
tree | 7ae394235800749a21c89c5ea510a4b5d73f8f88 /drivers/net/wireless/mwifiex/join.c | |
parent | 2d3d0a88bd136f8e6f39bc53242712852e5d0bb2 (diff) |
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, | |||
869 | tmp_cap |= WLAN_CAPABILITY_IBSS; | 869 | tmp_cap |= WLAN_CAPABILITY_IBSS; |
870 | 870 | ||
871 | /* Set up privacy in bss_desc */ | 871 | /* Set up privacy in bss_desc */ |
872 | if (priv->sec_info.encryption_mode != MWIFIEX_ENCRYPTION_MODE_NONE) { | 872 | if (priv->sec_info.encryption_mode) { |
873 | /* Ad-Hoc capability privacy on */ | 873 | /* Ad-Hoc capability privacy on */ |
874 | dev_dbg(adapter->dev, | 874 | dev_dbg(adapter->dev, |
875 | "info: ADHOC_S_CMD: wep_status set privacy to WEP\n"); | 875 | "info: ADHOC_S_CMD: wep_status set privacy to WEP\n"); |