Commit 31f0037f authored by Timothy Stack's avatar Timothy Stack

Die when the garcia-pilot connection goes away

parent 13153d1b
......@@ -1269,6 +1269,7 @@ void pc_handle_signal(fd_set *rready, fd_set *wready)
struct mtp_packet mp;
if (mtp_receive_packet(mh, &mp) != MTP_PP_SUCCESS) {
fatal("lost pilot connection");
pc->pc_flags &= ~PCF_CONNECTED;
pc->pc_flags |= PCF_CONNECTING;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment