Exemplo n.º 1
0
void btif_pan_cleanup()
{
    if(stack_initialized)
    {
        //bt is shuting down, invalid all bta pan handles
        int i;
        for(i = 0; i < MAX_PAN_CONNS; i++)
            btpan_cleanup_conn(&btpan_cb.conns[i]);
        pan_disable();
    }
    stack_initialized = FALSE;
}
Exemplo n.º 2
0
void btif_pan_cleanup()
{
    if (!stack_initialized)
        return;

    // Bluetooth is shuting down, invalidate all BTA PAN handles
    for (int i = 0; i < MAX_PAN_CONNS; i++)
        btpan_cleanup_conn(&btpan_cb.conns[i]);

    pan_disable();
    stack_initialized = false;
}
Exemplo n.º 3
0
static void btpan_jni_cleanup()
{
    pan_disable();
    jni_initialized = FALSE;
}
Exemplo n.º 4
0
static void btpan_jni_cleanup()
{
    pan_disable();
    jni_initialized = false;
}