[abis] Set rc to 0 to avoid running into a warning about unknown states

When we have received the End Ack we are just doing nothing as we
are done. This means rc remains -1 and we will print a warning but
there is no need to have a warning...
This commit is contained in:
Holger Hans Peter Freyther 2009-12-28 11:48:12 +01:00
parent 326a632c46
commit 8f31a8fdae
1 changed files with 1 additions and 0 deletions

View File

@ -1581,6 +1581,7 @@ static int abis_nm_rcvmsg_sw(struct msgb *mb)
sw->cbfn(GSM_HOOK_NM_SWLOAD,
NM_MT_LOAD_END_ACK, mb,
sw->cb_data, NULL);
rc = 0;
break;
case NM_MT_LOAD_END_NACK:
if (sw->forced) {