Upon detecting Radio Link Failure UE will do RRC Connection re-establishment but to do RRC Connection re-establishment security should be activated in UE, otherwise UE will go Idle mode.So here(After detecting RLF) we are resetting all PHY,MAC,RLC,PDCP Configurations but why we are making security should be there to do RRC Connection re-establishment.