- if (SPstTsk(&pst, mBuf) != ROK)
- {
- DU_LOG("\nDU_APP : SPstTsk failed in duReadCfg");
- return RFAILED;
- }
-
- return ROK;
-}
-
-/*******************************************************************
- *
- * @brief Converts bit strings to integer
- *
- * @details
- *
- * Function : bitStringToInt
- *
- * Functionality:
- * - Converts ASN bit string format IEs to integer type
- *
- * @params[in] void
- * @return ROK - success
- * RFAILED - failure
- *
- * ****************************************************************/
-S16 bitStringToInt(BIT_STRING_t *bitString, U16 *val)
-{
- U16 idx;
- if(bitString->buf == NULL || bitString->size <= 0)