osmoload: Print something when loader starts. Fix handling of unknown replies.

This commit is contained in:
Ingo Albrecht 2010-03-07 18:04:16 +01:00
parent 6f2dae3976
commit 32b60f0c0e
1 changed files with 4 additions and 1 deletions

View File

@ -142,6 +142,9 @@ loader_handle_reply(struct msgb *msg) {
void *data;
switch(cmd) {
case LOADER_INIT:
printf("Loader has been started\n");
break;
case LOADER_PING:
case LOADER_RESET:
case LOADER_POWEROFF:
@ -161,7 +164,7 @@ loader_handle_reply(struct msgb *msg) {
printf("Received unknown reply %d:\n", cmd);
hexdump(msg->data, msg->len);
osmoload.quit = 1;
break;
return;
}
switch(osmoload.operation) {