atheros_wifi/custom_src/osal/osal.c
A_STATUS qosal_mutex_init(qosal_mutex_handle mutex_ptr) {
  A_STATUS osal_ret = A_OK;

  *mutex_ptr = osSemaphoreNew(1, 1, NULL);
  if (*mutex_ptr == NULL) {
    osal_ret = A_ERROR;
   }
  return osal_ret;
}
/*
 * Description: This function is used for initialization of the mutex 
 *
 * Params: Mutex pointer
 *          
 * Returns: A_OK if Success, A_ERROR if Fail
 */
This function is used for initialization of the mutex
Params: Mutex pointer


This function is used for initialization of the mutex Params : Mutex pointer
A_STATUS qosal_mutex_init(qosal_mutex_handle mutex_ptr) {
  A_STATUS osal_ret = A_OK;
  *mutex_ptr = osSemaphoreNew(1, 1, NULL);
  if (*mutex_ptr == NULL) {
    osal_ret = A_ERROR;
   }
  return osal_ret;
}
A_STATUS qosal_mutex_init ( qosal_mutex_handle mutex_ptr ) { A_STATUS osal_ret = A_OK ; * mutex_ptr = osSemaphoreNew ( 1 , 1 , NULL ) ; if ( * mutex_ptr == NULL ) { osal_ret = A_ERROR ; } return osal_ret ; }
Description: This function is used for initialization of the mutex
 Params: Mutex pointer
Description : This function is used for initialization of the mutex Params : Mutex pointer