aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r--fs/cifs/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index c104f54cadfe..c2793bd1db4a 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -2748,7 +2748,7 @@ CIFSTCon(unsigned int xid, struct cifsSesInfo *ses,
2748 by Samba (not sure whether other servers allow 2748 by Samba (not sure whether other servers allow
2749 NTLMv2 password here) */ 2749 NTLMv2 password here) */
2750#ifdef CONFIG_CIFS_WEAK_PW_HASH 2750#ifdef CONFIG_CIFS_WEAK_PW_HASH
2751 if ((extended_security & CIFSSEC_MAY_LANMAN) && 2751 if ((global_secflags & CIFSSEC_MAY_LANMAN) &&
2752 (ses->server->secType == LANMAN)) 2752 (ses->server->secType == LANMAN))
2753 calc_lanman_hash(tcon->password, ses->server->cryptKey, 2753 calc_lanman_hash(tcon->password, ses->server->cryptKey,
2754 ses->server->secMode & 2754 ses->server->secMode &