X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/9304e6d3a222de6ef1c405bfd6e09eee6ed2c2aa..ce92397425d29ec27fc701c36c589a5e1f894898:/lisp/net/tramp-smb.el diff --git a/lisp/net/tramp-smb.el b/lisp/net/tramp-smb.el index 2a38b0ef2f..c4dde050c8 100644 --- a/lisp/net/tramp-smb.el +++ b/lisp/net/tramp-smb.el @@ -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