diff --git a/src/fe/dolphin.c b/src/fe/dolphin.c
index 101ada5e8b4cb706f05306d78e60be25d4d2c626..3e11c7f8777a43bc7c3cb42f8e8b234b83450d58 100644
--- a/src/fe/dolphin.c
+++ b/src/fe/dolphin.c
@@ -41,7 +41,7 @@ session_callback( session_cb_arg_t IN arg,
     /// @brief This function contains the required Dolphin callback routine. \n
     // printl("Session callback reason=%d status=%d target_node=%d\n", reason,
     // status, target_node); if (reason == SR_OK) iop_rfm_valid = 1;
-    if ( reason == SR_OK || status == SR_NONE ) //TODO: This does not seem like a good check, we could pass if reason has an error and status is SR_NONE
+    if ( reason == SR_OK || status == SS_NONE ) //TODO: This does not seem like a good check, we could pass if reason has an error and status is SR_NONE
         iop_rfm_valid = 1;
     else
         iop_rfm_valid = 0;