TB_WAKE_ON_DISCONNECT
flags |= TB_WAKE_ON_CONNECT | TB_WAKE_ON_DISCONNECT;
if ((flags & TB_WAKE_ON_DISCONNECT) && wakeup && configured)