diff options
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index c96f3edf1b9c..1d17691086c2 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -3219,7 +3219,9 @@ CIFSTCon(unsigned int xid, struct cifsSesInfo *ses, | |||
3219 | } | 3219 | } |
3220 | /* else do not bother copying these informational fields */ | 3220 | /* else do not bother copying these informational fields */ |
3221 | } | 3221 | } |
3222 | if(smb_buffer_response->WordCount == 3) | 3222 | if((smb_buffer_response->WordCount == 3) || |
3223 | (smb_buffer_response->WordCount == 7)) | ||
3224 | /* field is in same location */ | ||
3223 | tcon->Flags = le16_to_cpu(pSMBr->OptionalSupport); | 3225 | tcon->Flags = le16_to_cpu(pSMBr->OptionalSupport); |
3224 | else | 3226 | else |
3225 | tcon->Flags = 0; | 3227 | tcon->Flags = 0; |