Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 301dc3e6 authored by Steve French's avatar Steve French
Browse files

[CIFS] Fix compile error when CONFIG_CIFS_EXPERIMENTAL is undefined

parent 6b426e78
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -3447,10 +3447,13 @@ int cifs_setup_session(unsigned int xid, struct cifsSesInfo *pSesInfo,
			pSesInfo->server->secMode,
			pSesInfo->server->secMode,
			pSesInfo->server->capabilities,
			pSesInfo->server->capabilities,
			pSesInfo->server->timeZone));
			pSesInfo->server->timeZone));
#ifdef CONFIG_CIFS_EXPERIMENTAL
		if(experimEnabled > 1)
		if(experimEnabled > 1)
			rc = CIFS_SessSetup(xid, pSesInfo, CIFS_NTLM /* type */,
			rc = CIFS_SessSetup(xid, pSesInfo, CIFS_NTLM /* type */,
					    &ntlmv2_flag, nls_info);	
					    &ntlmv2_flag, nls_info);	
		else if (extended_security
		else
#endif
		if (extended_security
				&& (pSesInfo->capabilities & CAP_EXTENDED_SECURITY)
				&& (pSesInfo->capabilities & CAP_EXTENDED_SECURITY)
				&& (pSesInfo->server->secType == NTLMSSP)) {
				&& (pSesInfo->server->secType == NTLMSSP)) {
			cFYI(1, ("New style sesssetup"));
			cFYI(1, ("New style sesssetup"));