diff options
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 5fde83f0c75..67dad54fbfa 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -463,7 +463,8 @@ incomplete_rcv: | |||
463 | * is since we do not begin with RFC1001 session | 463 | * is since we do not begin with RFC1001 session |
464 | * initialize frame) | 464 | * initialize frame) |
465 | */ | 465 | */ |
466 | server->addr.sockAddr.sin_port = htons(CIFS_PORT); | 466 | cifs_set_port((struct sockaddr *) |
467 | &server->addr.sockAddr, CIFS_PORT); | ||
467 | cifs_reconnect(server); | 468 | cifs_reconnect(server); |
468 | csocket = server->ssocket; | 469 | csocket = server->ssocket; |
469 | wake_up(&server->response_q); | 470 | wake_up(&server->response_q); |