diff -r 8b5d60ce1e94 -r 0b0e9fce0b58 datacommsserver/esockserver/ssock/ss_secpol.cpp --- a/datacommsserver/esockserver/ssock/ss_secpol.cpp Mon Mar 15 12:45:15 2010 +0200 +++ b/datacommsserver/esockserver/ssock/ss_secpol.cpp Wed Mar 31 23:27:09 2010 +0300 @@ -166,7 +166,11 @@ */ { - __ASSERT_ALWAYS(aMsg.Function() == ECNControl, Fault(ENotImplementedYet)); + // ECNControl is all we are expecting + if(aMsg.Function() != ECNControl) + { + return EFail; + } TInt optionLevel = aMsg.Int0();