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; }
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; }
static void btpan_jni_cleanup() { pan_disable(); jni_initialized = FALSE; }
static void btpan_jni_cleanup() { pan_disable(); jni_initialized = false; }