]> code.delx.au - gnu-emacs/blobdiff - lisp/net/tramp-smb.el
-
[gnu-emacs] / lisp / net / tramp-smb.el
index 2a38b0ef2f9bac5ddfe02944be12e27477920dec..c4dde050c8338a76817cf0995dd64b66b6d1c9d2 100644 (file)
@@ -1898,7 +1898,10 @@ If ARGUMENT is non-nil, use it as argument for
                    ;; character by character; if we send the string
                    ;; at once, it is read painfully slow.
                    (tramp-set-connection-property p "smb-share" share)
-                   (tramp-set-connection-property p "chunksize" 1))
+                   (tramp-set-connection-property p "chunksize" 1)
+
+                   ;; Mark it as connected.
+                   (tramp-set-connection-property p "connected" t))
 
                ;; Check for the error reason.  If it was due to wrong
                ;; password, reestablish the connection.  We cannot