]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/cifs/sess.c
[CIFS] endian errors in lanman protocol support
[linux-2.6-omap-h63xx.git] / fs / cifs / sess.c
index 7202d534ef0bde1d4bcea1d3f61f47bec74f6533..d1705ab8136e1fc53768240d6dbca66bfcb56132 100644 (file)
@@ -372,7 +372,7 @@ CIFS_SessSetup(unsigned int xid, struct cifsSesInfo *ses, int first_time,
 
                /* no capabilities flags in old lanman negotiation */
 
-               pSMB->old_req.PasswordLength = CIFS_SESS_KEY_SIZE
+               pSMB->old_req.PasswordLength = cpu_to_le16(CIFS_SESS_KEY_SIZE)
                /* BB calculate hash with password */
                /* and copy into bcc */