patch-2.0.6 linux/fs/smbfs/proc.c

Next file: linux/include/linux/pci.h
Previous file: linux/drivers/sound/soundcard.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.5/linux/fs/smbfs/proc.c linux/fs/smbfs/proc.c
@@ -1739,7 +1739,7 @@
 	DPRINTK("smb_proc_connect: Server wants %s protocol.\n",
                 prots[i].name);
 
-        if (server->protocol > PROTOCOL_LANMAN1) {
+        if (server->protocol >= PROTOCOL_LANMAN1) {
 
                 word passlen = strlen(server->m.password);
                 word userlen = strlen(server->m.username);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov