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 d545a95c30ed..c0458c543f17 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -3452,7 +3452,7 @@ CIFSTCon(unsigned int xid, struct cifs_ses *ses,
3452 else 3452 else
3453#endif /* CIFS_WEAK_PW_HASH */ 3453#endif /* CIFS_WEAK_PW_HASH */
3454 rc = SMBNTencrypt(tcon->password, ses->server->cryptkey, 3454 rc = SMBNTencrypt(tcon->password, ses->server->cryptkey,
3455 bcc_ptr); 3455 bcc_ptr, nls_codepage);
3456 3456
3457 bcc_ptr += CIFS_AUTH_RESP_SIZE; 3457 bcc_ptr += CIFS_AUTH_RESP_SIZE;
3458 if (ses->capabilities & CAP_UNICODE) { 3458 if (ses->capabilities & CAP_UNICODE) {