214
214
/* Password cannot be longer than 128 characters */
215
215
if (passwd) /* Password must be converted to NT unicode */
216
len = cifs_strtoUCS(wpwd, passwd, 128, codepage);
216
len = cifs_strtoUTF16(wpwd, passwd, 128, codepage);
219
219
*wpwd = 0; /* Ensure string is null terminated */